synapse_claim_task
Claim a task and lock file patterns to prevent collisions with other agents; overlapping globs, directories, and files are rejected before work starts.
Instructions
Claim a task and lock file patterns to prevent collisions with other agents (Claude, Codex, Antigravity). Globs, directories and files are compared by overlap, so 'src/auth/**' blocks 'src/auth/login.ts'.
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_name": "<agent_name>",
"title": "<title>"
},
"name": "synapse_claim_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Clear, concise summary of the task to be done | |
| agent_name | Yes | Your agent name, e.g. 'antigravity', 'claude-code', 'codex'. Use a distinct name per concurrent session. | |
| description | No | Detailed scope, intent, and acceptance criteria | |
| lock_patterns | No | Files, directories or globs you will edit (e.g. ['src/auth/**', 'package.json']). Overlapping patterns held by other agents are rejected. |