n8n_get_execution
Retrieve detailed information about a specific workflow execution in n8n by providing its execution ID.
Instructions
Get details of a specific execution
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Execution ID |
Implementation Reference
- src/index.ts:156-162 (handler)The handler logic in src/index.ts for the n8n_get_execution tool.
case 'n8n_get_execution': { if (!args?.id) throw new Error('id is required'); const result = await n8nClient.getExecution(args.id as string); return { content: [{ type: 'text', text: formatResponse(result) }], }; } - src/n8n-client.ts:120-123 (handler)The implementation of the getExecution method in the n8n client, used by the tool handler.
async getExecution(id: string): Promise<any> { const response = await this.client.get(`/executions/${id}`); return response.data; } - src/index.ts:580-589 (schema)The tool registration schema for n8n_get_execution.
name: 'n8n_get_execution', description: 'Get details of a specific execution', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Execution ID' }, }, required: ['id'], }, },