Interface: DelegateToolOptions
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:76
Properties
agentName?
optionalagentName?:string
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:90
The registered agent that works delegated tickets. Default delegate.
callerSkills?
optionalcallerSkills?: readonlystring[] | (() => readonlystring[])
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:84
The skills the caller holds; a request may name only these.
callerTools?
optionalcallerTools?: readonlystring[] | (() => readonlystring[])
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:82
The tools the caller holds; a request may name only these. Omit to allow any name the host accepts.
cleanupTimeoutMs?
optionalcleanupTimeoutMs?:number
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:103
How long to await cancellation before reporting unsettled cleanup. Default 30 seconds.
concurrency?
optionalconcurrency?:object
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:99
Shared parent scope. Refuses excess in-turn children before construction.
leaseMs?
optionalleaseMs?:number
limit
limit:
number
scope
scope:
string
store
store:
SlotStore
createChild?
optionalcreateChild?: (request) =>Processable<unknown,unknown> |Promise<Processable<unknown,unknown>>
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:80
Build the child for a request (wait: true).
Parameters
request
Returns
Processable<unknown, unknown> | Promise<Processable<unknown, unknown>>
description?
optionaldescription?:string
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:97
maxBudgetUsd?
optionalmaxBudgetUsd?:number
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:92
The most any one delegation may spend. Requests above it are refused; requests without a budget get it.
name?
optionalname?:string
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:96
Tool name. Default delegate.
orchestrator?
optionalorchestrator?:Orchestrator
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:88
For wait: false — where background delegations are filed and who works them.
parentAdmission?
optionalparentAdmission?:object
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:101
An admission received by the host in createChild; never model input.
presets?
optionalpresets?:Readonly<Record<string,DelegatePreset>>
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:78
Named default briefs the model may start from (preset: '<name>').
price?
optionalprice?:PriceStep
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:94
Price the child's steps for its budget (default: provider-reported cost only).
toolHooks?
optionaltoolHooks?: readonlyToolHook[]
Defined in: packages/orchestration/src/delegate/delegate-tool.ts:86
The caller's gates, run inside the child on every tool it executes.