list_executions
Retrieve and filter workflow execution records from Automatisch to monitor status, track performance, and manage automation processes.
Instructions
List workflow executions
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | No | Filter by workflow ID | |
| status | No | Filter by execution status | |
| limit | No | Limit number of results |
Implementation Reference
- src/handlers.ts:346-354 (handler)The handler logic for the 'list_executions' tool within the CallToolRequestHandler switch statement. It invokes the API helper and formats the response as JSON text.case "list_executions": return { content: [ { type: "text", text: JSON.stringify(await main.api.listExecutions(args), null, 2) } ] };
- src/handlers.ts:140-161 (schema)Tool schema definition including name, description, and input schema for 'list_executions'.{ name: "list_executions", description: "List workflow executions", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Filter by workflow ID" }, status: { type: "string", enum: ["success", "failure", "running"], description: "Filter by execution status" }, limit: { type: "number", description: "Limit number of results" } } } },
- src/handlers.ts:140-161 (registration)Registration of the 'list_executions' tool in the ListToolsRequestHandler's tools array.{ name: "list_executions", description: "List workflow executions", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Filter by workflow ID" }, status: { type: "string", enum: ["success", "failure", "running"], description: "Filter by execution status" }, limit: { type: "number", description: "Limit number of results" } } } },
- src/api.ts:30-32 (helper)API helper function for listExecutions, currently a stub referencing logic from index.ts.listExecutions: async function(args: any = {}) { // ... copy listExecutions logic from index.ts ... },