n8n-mcp-server
Version:
Model Context Protocol (MCP) server for n8n workflow automation
26 lines (25 loc) • 727 B
TypeScript
/**
* Get Execution Tool
*
* This tool retrieves detailed information about a specific workflow execution.
*/
import { BaseExecutionToolHandler } from './base-handler.js';
import { ToolCallResult, ToolDefinition } from '../../types/index.js';
/**
* Handler for the get_execution tool
*/
export declare class GetExecutionHandler extends BaseExecutionToolHandler {
/**
* Execute the tool
*
* @param args Tool arguments (executionId)
* @returns Execution details
*/
execute(args: Record<string, any>): Promise<ToolCallResult>;
}
/**
* Get tool definition for the get_execution tool
*
* @returns Tool definition
*/
export declare function getGetExecutionToolDefinition(): ToolDefinition;