claim_task
Acquire the highest-priority pending task atomically for an agent in AgentMesh MCP, preventing duplicate work and collisions between parallel AI agents.
Instructions
Atomically claim the highest priority pending task for this agent.
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": {
"agent_id": "<agent_id>"
},
"name": "claim_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Unique identifier of the claiming agent (e.g., 'researcher-agent-1'). |