read_logs
Retrieve the tail of an app's log with secrets from its .env file automatically redacted, optionally filtering by level, line count, or search text.
Instructions
Read the end of an app's log. Secrets from the app's .env file are blanked out.
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": {
"app": "<app>"
},
"name": "read_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App name from list_apps | |
| level | No | 'errors': errors and tracebacks only; 'warnings' adds warnings | all |
| lines | No | How many lines to return (max 200) | |
| search | No | Only lines containing this text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||