调用存证审计
audit.record记录跨 Agent 协作的调用存证,返回不可篡改 SHA-256 内容哈希,用于任务结算前的存证审计。Example: {"actor":"agent-a","action":"tool.call","target":"weather_query"}
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"actor": "agent-a",
"action": "tool.call",
"detail": {
"cost": 0.01
},
"target": "weather_query"
},
"name": "audit.record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | 执行方标识,如 agent-a | |
| action | Yes | 操作,如 tool.call | |
| detail | No | 补充信息(可选) | |
| target | No | 目标资源(可选) |