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

    Interface ParsedOperationInput

    The parsed operation createRestApiTool accepts.

    name and description are optional and are derived from the operation when they are absent. parameters and returnValue carry an operation the caller has already parsed, so its names, locations and schemas stay authoritative.

    interface ParsedOperationInput {
        authCredential?: AuthCredential;
        authScheme?: SecuritySchemeObject;
        description?: string;
        endpoint: OperationEndpoint;
        name?: string;
        operation: {};
        parameters?: ApiParameter[];
        returnValue?: ApiParameter;
    }

    Properties

    authCredential?: AuthCredential
    authScheme?: SecuritySchemeObject
    description?: string
    name?: string
    operation: {}
    parameters?: ApiParameter[]
    returnValue?: ApiParameter