read_file
Read the first 2048 bytes of a file on a managed agent. Provide the absolute path to retrieve file contents for immediate inspection.
Instructions
Read first 2048 bytes of a file on the agent. Usage: cat Arguments: path : STRING (required) — Absolute path to the file to read. Example: cat C:\Windows\System32\drivers\etc\hosts
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>",
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |