logs
Fetch a read-only, bounded snapshot of recent runtime and build output from the running stack to diagnose service failures. Narrow by service or source; call again for newer entries.
Instructions
A bounded snapshot of recent logs from the running stack (default the last 200 lines, at most 10000), returned as text. Read-only. Optionally select the project with projectPath. Not a stream: call it again for newer lines. Use status first to find which service is failing, then pass services to narrow the output and source runtime to skip image build output and read why it failed.
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": "logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | ||
| since | No | Only logs newer than this, for example 30s, 5m, 1h | |
| source | No | runtime: only what the services printed (where a crash cause such as an exception or a missing variable is); build: only image build steps. Omit for both. | |
| services | No | Only these services | |
| projectPath | No | Absolute path to the Flisk project root; run this operation from that directory. |