Assign
assignDelegates a task to a specified worker and returns the finished job status (done, uncertain, or failed), optionally reusing a session to run queued work.
Instructions
Give a task to a worker and return the finished job (done, uncertain, or failed).
Without session it opens a new worker session, with model and effort when you give them (see catalog);
the session keeps them for its life. With the id of one of your sessions on that worker, the job
runs there after the jobs before it, with what the session already knows. In Claude Code it runs as a task:
go on with other work, and the job comes back to this session when it ends.
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": {
"worker": "<worker>",
"text": "<text>"
},
"name": "assign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | No | ||
| paths | No | ||
| effort | No | ||
| worker | Yes | ||
| session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||