join_execution
Register an external worker in a heads-down run and receive a one-time agent token for worker tools; include a task_id to create or reuse its worktree and return the task card.
Instructions
Register an external worker (for example this chat, or another host) in a heads-down run. Returns an agent_token ONCE: pass it with execution_id to every worker tool (read_blackboard, claim_task, lease, post_update, run_command, submit_work, escalate, spawn_subtasks, await_subtasks). With task_id, the task's worktree is created (or reused) and its task card returned. External workers are not sandboxed: their leases are checked when they submit.
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": {
"execution_id": "<execution_id>",
"agent": "<agent>"
},
"name": "join_execution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | An existing team of the contract. | |
| agent | Yes | Your agent id in the run. | |
| task_id | No | ||
| execution_id | Yes |