ISPO SDK
    Preparing search index...

    Interface CapabilityInvocationRequest

    Markdown

    Caller → host invocation request. workerProjectId is the ONLY routing key.

    interface CapabilityInvocationRequest {
        callerContext?: ProjectInvocationContextClaim;
        capabilityId: string;
        idempotencyKey?: string;
        input: unknown;
        resultChannel: CapabilityResultChannel;
        timeoutMs?: number;
        workerProjectId: string;
    }
    Index
    capabilityId: string
    idempotencyKey?: string

    Optional caller-scoped replay key. The host treats it as opaque data and rejects blank, control-character, or oversized values at the trust boundary.

    input: unknown

    Validated against descriptor.inputSchema before any worker dispatch.

    One of the executable result channels (all seven are host-routable).

    timeoutMs?: number

    Client-side RPC budget hint (like agent.spawn). The invoke blocks on a human-scale consent hold, so the SDK defaults this well above the ordinary 10s RPC timeout. NOT part of the invocation identity — the host ignores it in routing/consent/dispatch.

    workerProjectId: string