modal_app_logs
Fetch app logs from Modal infrastructure with filters for environment, source, time range, or last N entries to troubleshoot deployments.
Instructions
Fetch logs for an App.
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": {
"appIdentifier": "<appIdentifier>"
},
"name": "modal_app_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment to interact with | |
| tail | No | Show only the last N log entries | |
| since | No | Start of time range (e.g. '1d', '2h') | |
| source | No | Filter by source: 'stdout', 'stderr', or 'system' | |
| appIdentifier | Yes | App name or ID |