get_task_details
Retrieve execution details for a specific task by providing its unique ID. View task status, input/output data, and execution information to monitor and troubleshoot workflow performance.
Instructions
Get details of a specific task execution by task ID. Returns task status, input/output, and execution details.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | The unique task execution ID |
Implementation Reference
- src/index.ts:1056-1068 (handler)The handler function for the 'get_task_details' tool. It extracts the taskId from the input arguments, makes an API call to the Conductor server to retrieve task details from the `/tasks/{taskId}` endpoint, and returns the response data as a formatted JSON string in the tool response format.case "get_task_details": { const { taskId } = args as any; const response = await conductorClient.get(`/tasks/${taskId}`); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
- src/index.ts:456-466 (schema)The input schema definition for the 'get_task_details' tool, specifying that it requires a 'taskId' string parameter.inputSchema: { type: "object", properties: { taskId: { type: "string", description: "The unique task execution ID", }, }, required: ["taskId"], }, },
- src/index.ts:452-466 (registration)The tool registration object included in the 'tools' array, which is returned by the list_tools handler. This defines the tool's name, description, and input schema for discovery by MCP clients.{ name: "get_task_details", description: "Get details of a specific task execution by task ID. Returns task status, input/output, and execution details.", inputSchema: { type: "object", properties: { taskId: { type: "string", description: "The unique task execution ID", }, }, required: ["taskId"], }, },