get_workflow
Retrieve detailed information about a specific workflow in the Automatisch automation platform by providing its workflow ID.
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)Handler logic for the 'get_workflow' tool. It calls main.api.getWorkflow with the provided workflowId argument and returns the 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 (schema)Schema definition for the 'get_workflow' tool, including name, description, and input schema requiring a workflowId string.{ 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/api.ts:12-14 (helper)API helper function getWorkflow that is called by the tool handler. Currently a stub referencing logic from index.ts.getWorkflow: async function(workflowId: any) { // ... copy getWorkflow logic from index.ts ... },