List log files
list_logsLists regular files under configured log directories (two levels deep), newest first, showing size and whether the current user can read them.
Instructions
The regular files under the log directories this server was started with (two levels deep, symlinks skipped), newest first, with size and whether this user can read them.
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": "list_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | default 100 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| truncated | Yes | ||
| directories | Yes |