List Files
list_filesList files on a session's machine, newest first; by default its environment's own, such as a browser's downloads.
session_id is the id run_agent returns, or an env-manager session id.
When a listing is truncated, page on the last entry's modified_at (ISO-8601) and name, passed as modified_before and name_after. Send both: modification times are not unique, and a timestamp alone skips the rest of a tied group.
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": {
"session_id": "<session_id>"
},
"name": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| name_after | No | ||
| session_id | Yes | ||
| max_entries | No | ||
| modified_before | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||