declare_outputs
Registers output keys that a worker will generate within a shared memory session, enabling coordinated task execution and dependency management across AI agents.
Instructions
Declare what outputs this worker will produce
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": {
"session_id": "<session_id>",
"worker_id": "<worker_id>",
"output_keys": "<output_keys>"
},
"name": "declare_outputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID | |
| worker_id | Yes | Worker ID | |
| output_keys | Yes | Keys of outputs this worker will produce |