Interface CallHandle

One run of a code-forged tool, as the broker sees it: the run's id, the tool and the agent it runs for, and the signal that ends it. Under a ceiling the engine makes one for every forge test and every call; the broker checks it before every capability call and again just before the effect, and keys what is in flight by its id.

interface CallHandle {
    id: string;
    toolId: string;
    agentId: string;
    signal: AbortSignal;
    dryRun?: {
        responses: readonly ForgeTestResponse[];
    };
}

Properties

id: string
toolId: string
agentId: string
signal: AbortSignal
dryRun?: {
    responses: readonly ForgeTestResponse[];
}

Present for a forge test's run: writes land in a temporary overlay, deletes mark their target gone for the run, state-changing requests are answered from responses (or a 204 with x-agentos-forge-test: not-sent) and never sent.

Type declaration