logs
Query bounded normalized service and action records from Kranz-managed runtimes to inspect behavior and diagnose issues, filtering by run, tail, time, selectors, or source.
Instructions
Query bounded normalized service and action logs.
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 |
|---|---|---|---|
| run | No | ||
| runs | No | ||
| tail | No | ||
| since | No | RFC3339 timestamp or duration such as 5m. | |
| cursor | No | ||
| runtime | No | Project runtime to address, by name or id from runtimes. Omit to use the project this MCP server was started in. | |
| sources | No | ||
| selectors | No | Exact service names or case-insensitive tags. | |
| with_actions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Tool-specific payload; absent on failure. | |
| error | No | Causal failure, absent on success. | |
| session | No | The runtime that served this call; absent for global tools and for failures that resolved no runtime. | |
| generation | No | Configuration generation the answer was read at; absent when no runtime served the call. | |
| schema_version | Yes | Envelope contract version. |