agentic-openapi-parser
    Preparing search index...

    Interface ExecuteToolOptions

    interface ExecuteToolOptions {
        accessToken?: string;
        accessTokenProvider?: AccessTokenProvider;
        authType?: DynamicProviderAuthType;
        hooks?: ObservabilityHooks;
        namespace?: string;
        oauth2State?: OAuth2TokenState;
        responseProcessors?: ResponseProcessor[];
        retry?: RetryOptions;
        timeout?: number;
        tokenRefresher?: TokenRefresher;
    }
    Index
    accessToken?: string
    accessTokenProvider?: AccessTokenProvider

    Supplies the access token from scratch (e.g. OAuth2 client_credentials). Takes precedence over tokenRefresher/oauth2State when both are set — the two model different grant types and aren't meant to be combined.

    Synchronous callbacks for wiring into an APM/tracing tool of the caller's choice. A throwing hook is caught and logged — it never fails the tool call.

    namespace?: string

    Must match the namespace passed to parseAndFlatten() for this tool, so its name can be resolved back to the OpenAPI operation.

    oauth2State?: OAuth2TokenState
    responseProcessors?: ResponseProcessor[]
    retry?: RetryOptions
    timeout?: number
    tokenRefresher?: TokenRefresher