> ## 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

> Updating Call preference. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Updating Call preference.

<Info>
  Tool ID: `zoho_crm_call_preferences_update_call_preferences`
</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_call_preferences_update_call_preferences',
  {
    "call_preferences": {
      "show_from_number": true,
      "show_to_number": true
    }
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_call_preferences_update_call_preferences --input '{
  "call_preferences": {
    "show_from_number": true,
    "show_to_number": true
  }
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "call_preferences": {
      "code": "SUCCESS",
      "message": "Example message",
      "status": "success",
      "details": {}
    }
  }
}
```

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

## Input reference

These properties will decide whether the show\_from\_number and show\_to\_number need to visible or not

| Name                       | Type     | Required | Default | Details                                                  |
| -------------------------- | -------- | -------- | ------- | -------------------------------------------------------- |
| `payload.call_preferences` | `object` | No       | —       | Based on these properties the call preference is updated |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "These properties will decide whether the show_from_number and show_to_number need to visible or not",
    "properties": {
      "call_preferences": {
        "type": "object",
        "description": "Based on these properties the call preference is updated",
        "properties": {
          "show_from_number": {
            "type": "boolean",
            "description": "Indicating show_from_number need to visible or not"
          },
          "show_to_number": {
            "type": "boolean",
            "description": "Indicating show_to_number need to visible or not"
          }
        },
        "additionalProperties": false
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                   | Type        | Required | Default | Details                                        |
| -------------------------------------- | ----------- | -------- | ------- | ---------------------------------------------- |
| `result.data`                          | `object`    | Yes      | —       | The response object properties                 |
| `result.data.call_preferences`         | `object`    | No       | —       | Success Response Properties                    |
| `result.data.call_preferences.code`    | `"SUCCESS"` | Yes      | —       | Success code Allowed: `SUCCESS`.               |
| `result.data.call_preferences.message` | `string`    | Yes      | —       | Success message Maximum length: 255.           |
| `result.data.call_preferences.status`  | `"success"` | Yes      | —       | Success status Allowed: `success`.             |
| `result.data.call_preferences.details` | `record`    | Yes      | —       | Response Details                               |
| `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": "The response object properties",
        "properties": {
          "call_preferences": {
            "type": "object",
            "description": "Success Response Properties",
            "properties": {
              "code": {
                "type": "string",
                "description": "Success code",
                "enum": [
                  "SUCCESS"
                ]
              },
              "message": {
                "type": "string",
                "description": "Success message",
                "maxLength": 255
              },
              "status": {
                "type": "string",
                "description": "Success status",
                "enum": [
                  "success"
                ]
              },
              "details": {
                "type": "object",
                "description": "Response Details",
                "additionalProperties": false
              }
            },
            "required": [
              "code",
              "message",
              "status",
              "details"
            ],
            "additionalProperties": false
          }
        },
        "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)
