dispatch
function dispatch(server: ToolkitDefinition, call: ToolCall): Promise<ToolCallResult>;Dispatch one normalized call against a server definition.
This is the seam the in-process test dispatcher drives: it runs the real SDK end-to-end without an isolated-sandbox boundary.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
server | ToolkitDefinition | The compiled server definition. |
call | ToolCall | The normalized tool call. |
Returns
Section titled “Returns”Promise<ToolCallResult>
The normalized result.