device_data_query
Authorize and read device files with whitelist validation, desensitization, and audit logging. Returns structured content without exposing raw paths.
Instructions
设备侧数据面授权读取(G10):设备门禁 → 目录白名单校验(默认空=全拒,opt-in)→ 读取 → 脱敏管线(敏感字段不出设备)→ 审计留痕 + 计量进 worklog。返回结构化内容(不落原始路径)。
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": {
"identity": "<identity>",
"path": "<path>"
},
"name": "device_data_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 请求读取的文件路径(设备侧绝对路径,须在白名单内) | |
| identity | Yes | 设备身份码(AgentIdentity JSON——须过 gateDevice 闸门) | |
| max_bytes | No | 读取上限字节(缺省 64KB) |