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

Function requiresTaskExecution

packages/ai-mcp/src/tools.ts:104–106  ·  view source on GitHub ↗
(def: McpToolDef)

Source from the content-addressed store, hash-verified

102 * supported, such tools must not be offered to the model.
103 */
104export function requiresTaskExecution(def: McpToolDef): boolean {
105 return def.execution?.taskSupport === 'required'
106}
107
108/**
109 * Auto-discovery path: turn raw MCP tool defs into ServerTools (args typed

Callers 2

toolsMethod · 0.90
toServerToolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected