Skip to main content
Glama

get_task_logs

Retrieve execution logs for a specific task to monitor performance and troubleshoot issues in Netflix Conductor workflows.

Instructions

Get execution logs for a specific task. Returns log entries generated during task execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskIdYesThe unique task execution ID

Implementation Reference

  • The handler function for the get_task_logs tool. It extracts the taskId from arguments, makes an API call to Conductor's /tasks/{taskId}/log endpoint, and returns the response data as formatted JSON text.
    case "get_task_logs": { const { taskId } = args as any; const response = await conductorClient.get(`/tasks/${taskId}/log`); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
  • Input schema definition for the get_task_logs 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:306-320 (registration)
    Registration of the get_task_logs tool in the 'tools' array, which is returned by the ListToolsRequestHandler. Includes name, description, and input schema.
    { name: "get_task_logs", description: "Get execution logs for a specific task. Returns log entries generated during task execution.", inputSchema: { type: "object", properties: { taskId: { type: "string", description: "The unique task execution ID", }, }, required: ["taskId"], }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/opensensor/conductor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server