list_task_definitions
Retrieve metadata for all tasks registered in Conductor to understand available workflow components and their configurations.
Instructions
List all registered task definitions. Returns metadata about all tasks registered in Conductor.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access | No | Filter by access type (READ or CREATE) |
Implementation Reference
- src/index.ts:738-753 (handler)Handler for the list_task_definitions tool. Queries the Conductor API endpoint /metadata/taskdefs with optional 'access' filter parameter and returns the JSON response as text content.case "list_task_definitions": { const params: any = {}; if ((args as any).access) params.access = (args as any).access; const response = await conductorClient.get("/metadata/taskdefs", { params }); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
- src/index.ts:371-385 (registration)Registration of the list_task_definitions tool in the tools array, including name, description, and input schema definition.{ name: "list_task_definitions", description: "List all registered task definitions. Returns metadata about all tasks registered in Conductor.", inputSchema: { type: "object", properties: { access: { type: "string", description: "Filter by access type (READ or CREATE)", enum: ["READ", "CREATE"], }, }, }, },
- src/index.ts:375-384 (schema)Input schema definition for the list_task_definitions tool, defining optional 'access' parameter with enum values.inputSchema: { type: "object", properties: { access: { type: "string", description: "Filter by access type (READ or CREATE)", enum: ["READ", "CREATE"], }, }, },