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

> Restore a recycle bin record. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Restore a recycle bin record.

<Info>
  Tool ID: `zoho_crm_recycle_bin_restore_recycle_bin_record`
</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_recycle_bin_restore_recycle_bin_record',
  {
    "recordId": "record_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_recycle_bin_restore_recycle_bin_record --input '{
  "recordId": "record_123"
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "recycle_bin": [
      {
        "status": "success",
        "code": "example",
        "message": "Example message",
        "details": {}
      }
    ]
  }
}
```

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

## Input reference

Restores a single recycle-bin record identified by the path parameter `record_id`.

| Name               | Type     | Required | Default | Details                                                                                                                 |
| ------------------ | -------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------- |
| `payload.recordId` | `string` | Yes      | —       | Identifier of the recycle-bin record. Format depends on CRM configuration (e.g., numeric or UUID). Maximum length: 500. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Restores a single recycle-bin record identified by the path parameter `record_id`.",
    "properties": {
      "recordId": {
        "type": "string",
        "description": "Identifier of the recycle-bin record. Format depends on CRM configuration (e.g., numeric or UUID).",
        "maxLength": 500
      }
    },
    "required": [
      "recordId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                | Type                   | Required | Default | Details                                           |
| ----------------------------------- | ---------------------- | -------- | ------- | ------------------------------------------------- |
| `result.data`                       | `object`               | Yes      | —       | List of results from the operation.               |
| `result.data.recycle_bin`           | `array`                | Yes      | —       | Array of result items. Maximum items: 200.        |
| `result.data.recycle_bin[].status`  | `"success" \| "error"` | Yes      | —       | Per-item status Allowed: `success`, `error`.      |
| `result.data.recycle_bin[].code`    | `string`               | Yes      | —       | Machine-readable result code Maximum length: 100. |
| `result.data.recycle_bin[].message` | `string`               | Yes      | —       | Human-readable message Maximum length: 500.       |
| `result.data.recycle_bin[].details` | `record`               | Yes      | —       | Optional additional details about the item        |
| `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": "List of results from the operation.",
        "properties": {
          "recycle_bin": {
            "type": "array",
            "description": "Array of result items.",
            "maxItems": 200,
            "items": {
              "type": "object",
              "description": "Individual result item with status and details.",
              "properties": {
                "status": {
                  "type": "string",
                  "description": "Per-item status",
                  "enum": [
                    "success",
                    "error"
                  ]
                },
                "code": {
                  "type": "string",
                  "description": "Machine-readable result code",
                  "maxLength": 100
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable message",
                  "maxLength": 500
                },
                "details": {
                  "type": "object",
                  "description": "Optional additional details about the item",
                  "additionalProperties": true
                }
              },
              "required": [
                "status",
                "code",
                "message",
                "details"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "recycle_bin"
        ],
        "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)
