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

> Get Lead Conversion Options. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Get Lead Conversion Options.

<Info>
  Tool ID: `zoho_crm_conversion_option_get_lead_conversion_options`
</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_conversion_option_get_lead_conversion_options',
  {
    "leadId": "lead_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_conversion_option_get_lead_conversion_options --input '{
  "leadId": "lead_123"
}' --json
```

## Example response

The static output schema is not detailed enough to generate a reliable example. Use `deepline tools get zoho_crm_conversion_option_get_lead_conversion_options --json` for the complete live contract.

## Input reference

Retrieves available conversion options for a lead including matching contacts, accounts, field mappings, and layout preferences. This endpoint helps determine what conversion paths are available before performing the actual lead conversion.

| Name             | Type     | Required | Default | Details                                                                                  |
| ---------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------- |
| `payload.leadId` | `string` | Yes      | —       | Unique identifier of the Lead record to retrieve conversion options for Format: `int64`. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Retrieves available conversion options for a lead including matching contacts, accounts, field mappings, and layout preferences. This endpoint helps determine what conversion paths are available before performing the actual lead conversion.",
    "properties": {
      "leadId": {
        "type": "string",
        "description": "Unique identifier of the Lead record to retrieve conversion options for",
        "format": "int64"
      }
    },
    "required": [
      "leadId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                                              | Type     | Required | Default | Details                                                                                                     |
| ----------------------------------------------------------------- | -------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------- |
| `result.data`                                                     | `object` | Yes      | —       | Conversion options response containing available contacts, accounts, and field mappings for lead conversion |
| `result.data.__conversion_options`                                | `object` | No       | —       | Container for all conversion option data                                                                    |
| `result.data.__conversion_options.module_preference`              | `record` | Yes      | —       | —                                                                                                           |
| `result.data.__conversion_options.Contacts`                       | `record` | Yes      | —       | —                                                                                                           |
| `result.data.__conversion_options.Accounts`                       | `record` | Yes      | —       | —                                                                                                           |
| `result.data.__conversion_options.preference_field_matched_value` | `record` | Yes      | —       | —                                                                                                           |
| `result.data.__conversion_options.modules_with_multiple_layouts`  | `record` | Yes      | —       | —                                                                                                           |
| `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": "Conversion options response containing available contacts, accounts, and field mappings for lead conversion",
        "properties": {
          "__conversion_options": {
            "type": "object",
            "description": "Container for all conversion option data",
            "properties": {
              "module_preference": {
                "type": "object",
                "additionalProperties": true
              },
              "Contacts": {
                "type": "object",
                "additionalProperties": true
              },
              "Accounts": {
                "type": "object",
                "additionalProperties": true
              },
              "preference_field_matched_value": {
                "type": "object",
                "additionalProperties": true
              },
              "modules_with_multiple_layouts": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "required": [
              "module_preference",
              "Contacts",
              "Accounts",
              "preference_field_matched_value",
              "modules_with_multiple_layouts"
            ],
            "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)
