@suluk/agents - v0.1.6
    Preparing search index...

    Function routeToolDef

    • Derive a route's tool-def from the contract (name + description + input schema + approval gate + paid-tool price).

      Parameters

      • doc: OpenAPIv4Document
      • routeKey: string
      • operationRef: string

      Returns RouteToolDef