get_workflow
Retrieve detailed information about a specific workflow from the Automatisch automation platform to understand its configuration and functionality.
Instructions
Get detailed information about a specific workflow
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | Workflow ID to retrieve |
Implementation Reference
- src/handlers.ts:292-300 (handler)MCP tool handler implementation for 'get_workflow'. Dispatches to main.api.getWorkflow with workflowId argument and returns JSON-stringified result as text content.case "get_workflow": return { content: [ { type: "text", text: JSON.stringify(await main.api.getWorkflow(args?.workflowId), null, 2) } ] };
- src/handlers.ts:28-41 (registration)Registration of the 'get_workflow' tool in the ListTools response, including description and input schema requiring workflowId.{ name: "get_workflow", description: "Get detailed information about a specific workflow", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Workflow ID to retrieve" } }, required: ["workflowId"] } },
- src/handlers.ts:31-40 (schema)Input schema definition for the 'get_workflow' tool, specifying object with required string workflowId.inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "Workflow ID to retrieve" } }, required: ["workflowId"] }
- src/api.ts:12-14 (helper)Stub helper function for the getWorkflow API call, intended to contain the actual API logic.getWorkflow: async function(workflowId: any) { // ... copy getWorkflow logic from index.ts ... },