MCPcopy Create free account
hub / github.com/TanStack/ai / isToolExecResponse

Function isToolExecResponse

packages/ai-sandbox/src/remote-tools.ts:117–119  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

115}
116
117function isToolExecResponse(value: unknown): value is ToolExecResponse {
118 return value !== null && typeof value === 'object' && 'result' in value
119}
120
121/**
122 * The default {@link RemoteToolExecutor}: POST `{ name, args }` (bearer-gated)

Callers 1

executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected