check_consumed
Check if a resource has already been processed by an agent to avoid duplicate handling. Skip previously consumed resources for efficient workflow.
Instructions
查询某资源是否已被当前 Agent 处理过。在处理 WorkBuddy 发来的文件或信号前,先调用此工具检查,已处理的直接跳过。
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>",
"resource": "<resource>"
},
"name": "check_consumed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID,如 hermes | |
| resource | Yes | 文件路径或信号 ID |