claim_files
Declare your agent identity, task, and target files to reserve them for editing. Overlapping claims from other agents are rejected, preventing file conflicts.
Instructions
认领:声明"我是谁、我在做什么、我要动哪些文件"。 files 用逗号分隔,例如:src/auth/login.py, src/auth/schemas.py 如果这些文件和别的终端的占用中认领重叠,会被直接拒绝,并告诉你撞了谁。 同 agent 重复认领 = 续期:与本次文件重叠的旧声明作废、TTL 重新计时; 不重叠的认领保留(同 agent 可同时持有多个文件组的认领)。
参数: agent 你的名字/代号(比如 T1、coder-1) task 一句话说明任务 files 要动的文件或目录,逗号分隔
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| agent | Yes | ||
| files | Yes | ||
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |