agentic-openapi-parser
    Preparing search index...

    Class BaseNativeToolAdapter<TTool>Abstract

    Shared plumbing for adapters whose target format is plain JSON with no SDK/peer dependency (OpenAI function-calling, Anthropic tool-use, ...): map each tool to its sanitized name once, serialize via buildTool, and resolve a tool call back to the original tool definition by that same sanitized name (the provider echoes the name it was given back in its tool-call response).

    Type Parameters

    • TTool

    Hierarchy (View Summary)

    Index
    spec: Record<string, unknown>
    • Executes a tool call by the sanitized name the provider echoed back.

      Parameters

      • name: string
      • args: Record<string, unknown>

      Returns Promise<unknown>