runOperation
Function: runOperation()
runOperation(
operationId,options):Promise<{streamed:boolean;value:unknown; }>
Defined in: packages/mcp/src/invoke.ts:104
Run an operation as the caller through core callOperation
(permission, validation, events, audit and dispatch all apply)
Parameters
operationId
string
operation id
options
session, input, cancellation and streaming hooks
Returns
Promise<{ streamed: boolean; value: unknown; }>
the parsed result, or the chunks when the operation streamed