clay routines list view strips.
Arguments
| Argument | Description |
|---|---|
routineId | Routine id, e.g. function:t_abc123. Required. |
Output
| Field | Type | Description |
|---|---|---|
id | string | Routine id. |
type | "function" | Routine type. Only function is supported by the current CLI. |
name | string | Display name. |
description | string | null | Description, or null if not set. |
entityType | "contact" | "company" (optional) | MCP entity type. Omitted when not set. |
access.integrations | array of "api" | "mcp" | "claygent" | Integrations the routine is exposed on. |
inputSchema | object (optional) | JSON Schema for the routine’s input. Omitted when the routine does not declare a schema. |
Errors
| Code | Exit | Notes |
|---|---|---|
not_found | 6 | No routine with that id in this workspace. |
auth_forbidden | 3 | The API key lacks the cli:all scope (or all). |

