tools. Get a packageId and actionKey from clay workflows actions list. Always bind inputs using the exact names this command returns — never guess them from the action’s name or outputs. For parameters whose options or fields depend on other inputs, resolve them with clay workflows actions dynamic-fields.
Arguments
| Argument | Description |
|---|---|
packageId | Action package id, from workflows actions list. Required. |
actionKey | Action key, from workflows actions list. Required. |
Output
inputParameters is an array of the action’s input parameters — one entry per field you can pass when adding this action to a node’s tools. Each entry typically has name, displayName, type, required, and description.
| Field | Type | Description |
|---|---|---|
packageId | string | The action’s package id. |
actionKey | string | The action’s key. |
displayName | string | Human-readable action name. |
inputParameters | array of object | The action’s input parameters. Use each name exactly when binding inputs. |
Errors
| Code | Exit | Notes |
|---|---|---|
validation_error | 2 | packageId and actionKey arguments are required. |
not_found | 6 | No action with that packageId / actionKey. |
auth_forbidden | 3 | The API key lacks permission for this command. |

