get_logs
List past invocations for a workflow (status, output, error, stderr, duration, mode). Use get_invocation for the full record of a single run by ID. Note: streamed debug logs (console.log/print) are live-only and not stored here.
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": {
"workflow_id": "<workflow_id>"
},
"name": "get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| limit | No | ||
| status | No | ||
| end_time | No | ||
| snippet_id | No | Deprecated alias for workflow_id. | |
| start_time | No | ||
| workflow_id | Yes | Workflow ID. |