list_workflows
Retrieve and filter workflows from the Automatisch automation platform to view active, inactive, or all workflows with optional result limits.
Instructions
List all workflows in Automatisch
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Filter workflows by status | |
| limit | No | Limit number of results |
Implementation Reference
- src/handlers.ts:283-291 (handler)The MCP tool handler for 'list_workflows' which invokes the API helper main.api.listWorkflows and returns the result as JSON text.
case "list_workflows": return { content: [ { type: "text", text: JSON.stringify(await main.api.listWorkflows(args), null, 2) } ] }; - src/handlers.ts:13-26 (schema)Input schema definition for the 'list_workflows' tool, specifying optional status filter and limit parameters.
inputSchema: { type: "object", properties: { status: { type: "string", enum: ["active", "inactive", "all"], description: "Filter workflows by status" }, limit: { type: "number", description: "Limit number of results" } } } - src/handlers.ts:10-27 (registration)Registration of the 'list_workflows' tool in the ListToolsRequestHandler response, including name, description, and schema.
{ name: "list_workflows", description: "List all workflows in Automatisch", inputSchema: { type: "object", properties: { status: { type: "string", enum: ["active", "inactive", "all"], description: "Filter workflows by status" }, limit: { type: "number", description: "Limit number of results" } } } }, - src/api.ts:9-11 (helper)API helper method listWorkflows that is called by the tool handler. Currently a stub awaiting implementation logic.
listWorkflows: async function(args: any = {}) { // ... copy listWorkflows logic from index.ts ... },