chainabit connectors exec
Execute a tool on a connector instance
Synopsis
chainabit connectors exec <instance-id> <tool> --input <json> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<instance-id> | Required. | — |
<tool> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--input <json> | Tool input as JSON. Required. | — |
--locale <locale> | Localized tool execution messages | "en" |
Options shared by every command are described in Global options and shared behavior.
Behavior
Resolves a tool ID or key from the installed instance and submits its JSON input. If the tool reports success=false, the CLI exits with failure even when the HTTP request succeeded; JSON preserves that tool result.
Validation
Use an instance ID and the tool ID/key returned by connectors tools. --input must be a JSON object matching that tool’s inputSchema; {} is only valid for a tool with no required input fields. Replace YOUR_TOOL_KEY with the reviewed selector.
Output
Human output acknowledges the tool and prints its output as JSON. --json prints the complete tool result. A result with success=false exits 1; the result can already have been printed on stdout before the error.
Safety and billing
Effects, external charges and approval requirements depend on the selected tool and connected service. Inspect the tool schema and permission requirement first. This command does not expose a dry-run or --yes bypass; repeated execution can repeat external effects.
Examples
chainabit connectors exec 00000000-0000-4000-8000-000000000001 YOUR_TOOL_KEY --input '{}'