list_tmp
Lists files and directories in an agent's forwarded /tmp, returning type, size in bytes, and modification time; paths are relative and traversal or escaping symlinks are rejected.
Instructions
List files and directories in an agent's forwarded /tmp with type, size in bytes, and mtime. Paths are relative to that agent's tmp directory; traversal or symlinks escaping it are rejected.
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>"
},
"name": "list_tmp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| agent_id | Yes | ||
| recursive | No | ||
| max_entries | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||