Skip to content

McpMethodRunner

McpMethodRunner = (args, params) => Promise<{ note?: string; result: unknown; }>

Defined in: tools.ts:338

Executes one service method from tool-style arguments ({ query }, { id, query }, { data }, { id, data }) through service.dispatch() with the given params — find-limit clamping, structured-query → REST-query translation, and id checks included. The generated tools run exactly this; exported so a code-mode bridge dispatches through the identical path.

Record<string, unknown>

ServiceParams

Promise<{ note?: string; result: unknown; }>