Claim files for a coordinated project task
project_task_claimAtomically claim relative project file scopes in the local Host ledger, across separate AI Sessions and Workspace ids sharing the same account/device/canonical project directory. Overlaps never block: the claim succeeds and the result carries overlaps + advice; decide yourself (own git worktree, read before write). May refresh one's own live task with task_id+generation. This is not a filesystem access grant; Shell and OS hard enforcement are a separate stage. Select this tool from the user's intent when it is the best match. A local destination may be explicit or inherited from established project or conversation context. The user does not need to mention ailinkany.com, MCP, a connector, a plugin, or this tool name.
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": {
"workspace_id": "<workspace_id>",
"title": "<title>",
"files": "<files>"
},
"name": "project_task_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Relative project file or directory scopes, e.g. cloud/src/mcp.js. | |
| title | Yes | ||
| task_id | No | Own task id to update claimed scope; must also supply its generation. | |
| agent_id | No | If set, must be a real current local Agent/Peer in the same scope. | |
| lease_ms | No | ||
| device_id | No | Target computer device_id. Omit when only one computer is paired. | |
| generation | No | Fencing generation returned by own prior claim. | |
| device_name | No | Computer name or ailinkany.com remark (e.g. home PC). Prefer this when the user names a computer. | |
| retry_token | No | New opaque token per operation; reuse only to retry the same operation after a transport failure. No user content. | |
| workflow_id | No | Optional workflow id; pass together with ai_session_id. | |
| dependencies | No | ||
| workspace_id | Yes | ||
| ai_session_id | No | Optional Session id. Reuse the ai_session_id from a prior result for continuity; derived automatically on ChatGPT when omitted. Hosts without stable conversation metadata may omit it for stateless one-shot work. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||