Goal
Define and eventually implement an SDK-facing Gateway RPC for generic tool invocation.
There is currently an HTTP /tools/invoke path, but the app SDK wants a clean Gateway RPC method with the same policy and approval semantics.
Proposed method
tools.invoke
type ToolsInvokeParams = {
name: string;
args?: Record<string, unknown>;
sessionKey?: string;
agentId?: string;
confirm?: boolean;
idempotencyKey?: string;
};
Acceptance criteria
References
Goal
Define and eventually implement an SDK-facing Gateway RPC for generic tool invocation.
There is currently an HTTP
/tools/invokepath, but the app SDK wants a clean Gateway RPC method with the same policy and approval semantics.Proposed method
tools.invokeAcceptance criteria
References