> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Zoho CRM: README

> Update Fields. Zoho CRM Fields Patch Fields reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Update Fields.

<Info>
  Tool ID: `zoho_crm_fields_patch_fields`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'zoho_crm_fields_patch_fields',
  {
    "module": "example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute zoho_crm_fields_patch_fields --input '{
  "module": "example"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "fields": [
      {
        "code": "SUCCESS",
        "details": {
          "id": "id_123"
        },
        "message": "Example message",
        "status": "success"
      }
    ]
  }
}
```

Use `deepline tools get zoho_crm_fields_patch_fields --json` for the latest machine-readable contract.

## Input reference

Request body for updating custom fields. Maximum of 5 fields can be updated in a single call.

| Name             | Type     | Required | Default | Details                                                                    |
| ---------------- | -------- | -------- | ------- | -------------------------------------------------------------------------- |
| `payload.module` | `string` | Yes      | —       | The API name of the module to which the field belongs. Maximum length: 30. |
| `payload.fields` | `array`  | No       | —       | List of fields to be created Minimum items: 1. Maximum items: 5.           |

<Info>
  This input schema is too large to embed without slowing the page. Get the complete live contract with `deepline tools get zoho_crm_fields_patch_fields --json`.
</Info>

## Output reference

Standard tool result payload.

| Name                              | Type        | Required | Default | Details                                           |
| --------------------------------- | ----------- | -------- | ------- | ------------------------------------------------- |
| `result.data`                     | `object`    | Yes      | —       | Response from create custom fields API            |
| `result.data.fields`              | `array`     | Yes      | —       | Array of field creation results Maximum items: 5. |
| `result.data.fields[].code`       | `"SUCCESS"` | Yes      | —       | Result code Allowed: `SUCCESS`.                   |
| `result.data.fields[].details`    | `object`    | Yes      | —       | Details of the created field                      |
| `result.data.fields[].details.id` | `string`    | Yes      | —       | ID of the created field Maximum length: 25.       |
| `result.data.fields[].message`    | `string`    | Yes      | —       | Result message Maximum length: 225.               |
| `result.data.fields[].status`     | `"success"` | Yes      | —       | Status of the operation Allowed: `success`.       |
| `result.meta`                     | `object`    | No       | —       | Additional response metadata (status, paging).    |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Response from create custom fields API",
        "properties": {
          "fields": {
            "type": "array",
            "description": "Array of field creation results",
            "maxItems": 5,
            "items": {
              "type": "object",
              "description": "Result of a single field creation",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Result code",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Details of the created field",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "ID of the created field",
                      "maxLength": 25
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "Result message",
                  "maxLength": 225
                },
                "status": {
                  "type": "string",
                  "description": "Status of the operation",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "message",
                "status",
                "details"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "fields"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
