ADK for TypeScript: API Reference
    Preparing search index...

    Function createRestApiToolFromJson

    • Builds a RestApiTool from the JSON string form of a parsed operation.

      This is the only entry point that accepts undecoded input, so it is where the auth scheme is checked. A scheme reaching createRestApiTool as an object is already constrained by its type.

      Parameters

      Returns RestApiTool

      The tool for that operation.

      If the auth scheme does not declare a known type.