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

> Retrieve field dependencies for a layout. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Retrieve field dependencies for a layout.

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

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get zoho_crm_map_dependency_get_map_dependency --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "map_dependency": [
      {
        "parent": {
          "id": "id_123"
        },
        "child": {
          "id": "id_123"
        },
        "sub_module": {},
        "internal": true,
        "active": true,
        "id": "id_123",
        "source": 1,
        "category": 0
      }
    ],
    "info": {
      "page": 123,
      "per_page": 123,
      "count": 123,
      "more_records": true
    }
  }
}
```

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

## Input reference

Retrieves the list of field dependencies for a specific layout in a module. The response includes parent and child field relationships and its additional metadata.

| Name               | Type      | Required | Default | Details                                                                                                       |
| ------------------ | --------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------- |
| `payload.layoutId` | `string`  | Yes      | —       | The unique identifier of the layout Format: `int64`. Pattern: `^[0-9]+$`.                                     |
| `payload.module`   | `string`  | Yes      | —       | API name of the module to which the layout belongs Maximum length: 50. Pattern: `^[A-Za-z][A-Za-z0-9_]*$`.    |
| `payload.page`     | `integer` | No       | —       | The page number to retrieve. Defaults to 1 if not specified. Format: `int32`.                                 |
| `payload.per_page` | `integer` | No       | —       | The number of records to retrieve per page. Defaults to 20 if not specified. Format: `int32`. Maximum: 200.   |
| `payload.filters`  | `string`  | No       | —       | Filter criteria for field dependencies in JSON format. Maximum length is 100 characters. Maximum length: 100. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Retrieves the list of field dependencies for a specific layout in a module. The response includes parent and child field relationships and its additional metadata.",
    "properties": {
      "layoutId": {
        "type": "string",
        "description": "The unique identifier of the layout",
        "pattern": "^[0-9]+$",
        "format": "int64"
      },
      "module": {
        "type": "string",
        "description": "API name of the module to which the layout belongs",
        "maxLength": 50,
        "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
      },
      "page": {
        "type": "integer",
        "description": "The page number to retrieve. Defaults to 1 if not specified.",
        "format": "int32"
      },
      "per_page": {
        "type": "integer",
        "description": "The number of records to retrieve per page. Defaults to 20 if not specified.",
        "maximum": 200,
        "format": "int32"
      },
      "filters": {
        "type": "string",
        "description": "Filter criteria for field dependencies in JSON format. Maximum length is 100 characters.",
        "maxLength": 100
      }
    },
    "required": [
      "layoutId",
      "module"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                           | Type            | Required | Default | Details                                                                                                      |
| ---------------------------------------------- | --------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------ |
| `result.data`                                  | `object`        | Yes      | —       | Response containing field dependencies and pagination information.                                           |
| `result.data.map_dependency`                   | `array`         | Yes      | —       | An array of field dependencies. Maximum items: 200.                                                          |
| `result.data.map_dependency[].parent`          | `object`        | Yes      | —       | Reference to a field with ID and API name                                                                    |
| `result.data.map_dependency[].parent.id`       | `string`        | Yes      | —       | The unique identifier of the field Format: `int64`.                                                          |
| `result.data.map_dependency[].parent.api_name` | `string`        | No       | —       | The API name of the field Maximum length: 50.                                                                |
| `result.data.map_dependency[].child`           | `object`        | Yes      | —       | Reference to a field with ID and API name                                                                    |
| `result.data.map_dependency[].child.id`        | `string`        | Yes      | —       | The unique identifier of the field Format: `int64`.                                                          |
| `result.data.map_dependency[].child.api_name`  | `string`        | No       | —       | The API name of the field Maximum length: 50.                                                                |
| `result.data.map_dependency[].sub_module`      | `record`        | Yes      | —       | —                                                                                                            |
| `result.data.map_dependency[].internal`        | `true \| false` | Yes      | —       | Indicates whether the dependency is system defined or created by user. Allowed: `true`, `false`.             |
| `result.data.map_dependency[].active`          | `true \| false` | Yes      | —       | Indicates whether the dependency is active in layout or not. Allowed: `true`, `false`.                       |
| `result.data.map_dependency[].id`              | `string`        | Yes      | —       | The unique identifier of the dependency. Format: `int64`.                                                    |
| `result.data.map_dependency[].source`          | `1`             | Yes      | —       | Source through which dependency is created. `1` represents the source as CRM. Allowed: `1`. Format: `int32`. |
| `result.data.map_dependency[].category`        | `0 \| 1`        | Yes      | —       | The category of the dependency. `0` represents the default category. Allowed: `0`, `1`. Format: `int32`.     |
| `result.data.info`                             | `object`        | Yes      | —       | Pagination details for the response.                                                                         |
| `result.data.info.page`                        | `integer`       | Yes      | —       | The current page number. Format: `int32`.                                                                    |
| `result.data.info.per_page`                    | `integer`       | Yes      | —       | The number of records per page. Format: `int32`.                                                             |
| `result.data.info.count`                       | `integer`       | Yes      | —       | The number of records in the current page. Format: `int32`.                                                  |
| `result.data.info.more_records`                | `boolean`       | Yes      | —       | Indicates whether there are more records to fetch.                                                           |
| `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 containing field dependencies and pagination information.",
        "properties": {
          "map_dependency": {
            "type": "array",
            "description": "An array of field dependencies.",
            "maxItems": 200,
            "items": {
              "type": "object",
              "description": "Field dependency object containing parent and child field relationships.",
              "properties": {
                "parent": {
                  "type": "object",
                  "description": "Reference to a field with ID and API name",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The unique identifier of the field",
                      "format": "int64"
                    },
                    "api_name": {
                      "type": "string",
                      "description": "The API name of the field",
                      "maxLength": 50
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "child": {
                  "type": "object",
                  "description": "Reference to a field with ID and API name",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The unique identifier of the field",
                      "format": "int64"
                    },
                    "api_name": {
                      "type": "string",
                      "description": "The API name of the field",
                      "maxLength": 50
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "sub_module": {
                  "type": "object",
                  "additionalProperties": true
                },
                "internal": {
                  "type": "boolean",
                  "description": "Indicates whether the dependency is system defined or created by user.",
                  "enum": [
                    true,
                    false
                  ]
                },
                "active": {
                  "type": "boolean",
                  "description": "Indicates whether the dependency is active in layout or not.",
                  "enum": [
                    true,
                    false
                  ]
                },
                "id": {
                  "type": "string",
                  "description": "The unique identifier of the dependency.",
                  "format": "int64"
                },
                "source": {
                  "type": "integer",
                  "description": "Source through which dependency is created. `1` represents the source as CRM.",
                  "enum": [
                    1
                  ],
                  "format": "int32"
                },
                "category": {
                  "type": "integer",
                  "description": "The category of the dependency. `0` represents the default category.",
                  "enum": [
                    0,
                    1
                  ],
                  "format": "int32"
                }
              },
              "required": [
                "parent",
                "child",
                "sub_module",
                "internal",
                "active",
                "id",
                "source",
                "category"
              ],
              "additionalProperties": false
            }
          },
          "info": {
            "type": "object",
            "description": "Pagination details for the response.",
            "properties": {
              "page": {
                "type": "integer",
                "description": "The current page number.",
                "format": "int32"
              },
              "per_page": {
                "type": "integer",
                "description": "The number of records per page.",
                "format": "int32"
              },
              "count": {
                "type": "integer",
                "description": "The number of records in the current page.",
                "format": "int32"
              },
              "more_records": {
                "type": "boolean",
                "description": "Indicates whether there are more records to fetch."
              }
            },
            "required": [
              "page",
              "per_page",
              "count",
              "more_records"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "map_dependency",
          "info"
        ],
        "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)
