attach_agent
Records the subagent assigned to a goal run so Quarterdeck can track execution; reserved for the quarterdeck-goals plugin, not agents or the model.
Instructions
Records which subagent is doing a goal run. For the quarterdeck-goals plugin only: agents and the model must not call this.
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": {
"run_id": "<run_id>",
"agent_id": "<agent_id>"
},
"name": "attach_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| agent_id | Yes | ||
| run_scope | No | A goal run passes its run id here; anyone else leaves it out. |