codemerge_claim
Claim a file as modified by your merge session to prevent parallel agents from editing the same file. Provide session ID and file path to register the modification.
Instructions
Claim a file as being modified by this session.
Args:
session_id: The merge session ID
file_path: File path being modified (relative to repo root)
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>",
"file_path": "<file_path>"
},
"name": "codemerge_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||