add_discovery
Share discoveries like function findings, dependencies, or optimizations with other workers in a shared memory system to coordinate tasks and reduce redundant work.
Instructions
Add a discovery that other workers can benefit from
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>",
"discovery_type": "<discovery_type>",
"data": "<data>"
},
"name": "add_discovery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID | |
| worker_id | Yes | Worker making the discovery | |
| discovery_type | Yes | Type of discovery | |
| data | Yes | Discovery data | |
| affects_workers | No | Worker IDs that should be notified (optional) |