Anchorage API reference
    Preparing search index...

    Interface ConnectorInvocationOptions

    Trusted host context accepted by invokeConnector. An option this interface does not declare is refused with CONNECTOR_INVOCATION_OPTIONS_INVALID.

    interface ConnectorInvocationOptions {
        abortSignal?: AbortSignal;
        observe?: ToolObserve;
        requestContext?: RequestContext<unknown>;
        toolCallId?: string;
    }
    Index

    Properties

    abortSignal?: AbortSignal

    Abort signal forwarded to the connector execution context.

    observe?: ToolObserve

    Mastra observability helper, or the public no-op helper when omitted.

    requestContext?: RequestContext<unknown>

    Request context carrying trusted policy, identity, and grant values. A present value must be a Mastra RequestContext.

    toolCallId?: string

    Exact Mastra tool-call identity used to match a tool-call approval grant.