Skip to main content

Interface: DelegationRequest

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:40

What createChild receives: the checked request.

Properties​

acceptance?​

optional acceptance?: string[]

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:42


admission?​

optional admission?: object

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:56

Host-only capability: one nested worker may reuse this live admission.


brief​

brief: TicketBrief

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:41


budget?​

optional budget?: object

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:50

usd?​

optional usd?: number


deliverableSchema?​

optional deliverableSchema?: Record<string, unknown>

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:43


model?​

optional model?: string

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:49

An opaque model choice the host resolves (a tier word or an id).


signal​

signal: AbortSignal

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:54

Aborts when the caller aborts or the budget is reached.


skills?​

optional skills?: string[]

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:47

Skill names for the child — already checked against the caller's.


toolCallId​

toolCallId: string

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:52

The caller's tool call id for this delegation.


tools?​

optional tools?: string[]

Defined in: packages/orchestration/src/delegate/delegate-tool.ts:45

Tool names for the child — already checked against the caller's.