List Log Files
log_listLists the server's log files with name, path, size, and last-modified time, newest first, so you can choose one to read.
Instructions
Read-only. Lists the server's log files (name, path, size, last modified), most recently modified first. Pass a returned path or name to log_read. For a Docker container's own output use docker_container_logs instead. An empty list may also mean the log directory was unreadable — the API does not distinguish. Requires LOGS read permission (any viewer-level key).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "log_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | `detailed` returns full JSON instead of readable text. | concise |