chain
Runs a sequence of planning, execution, and review stages with fix rounds, pausing when autonomy requires developer input and returning an ID to check status, resume, or cancel.
Instructions
Run a chain of tentacle stages (default: plan -> execute -> review, with fix rounds). Each stage's autonomy decides whether it continues or waits for the developer. Returns a chain_id for status, resume and cancel.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Repository path | |
| name | No | Chain name (default "default") | |
| task | Yes | Include the developer's answers to open questions | |
| verify | No | Command to run after each write step, e.g. "npm test" | |
| session | No | Run group label | default |
| overrides | No | ||
| context_runs | No | Finished run ids to pass in as context | |
| max_fix_rounds | No |