Interface: AgentTypeConfig

Defined in: tools/builtin/task.ts:101

Configuration for a pre-defined agent type

Properties

allowedTools?

optional allowedTools?: string[];

Defined in: tools/builtin/task.ts:153

Tool names to allow (whitelist) when toolInheritance is ‘filter’

contextMode?

optional contextMode?: ContextMode;

Defined in: tools/builtin/task.ts:135

Default context inheritance mode

defaultModel?

optional defaultModel?: string;

Defined in: tools/builtin/task.ts:130

Default model for this agent type

deniedTools?

optional deniedTools?: string[];

Defined in: tools/builtin/task.ts:158

Tool names to deny (blacklist) when toolInheritance is ‘filter’

description

description: string;

Defined in: tools/builtin/task.ts:105

Description of what this agent type does

maxIterations?

optional maxIterations?: number;

Defined in: tools/builtin/task.ts:125

Maximum iterations for this agent type

skills?

optional skills?: string[];

Defined in: tools/builtin/task.ts:120

Skills available to this agent type

supportsThoroughness?

optional supportsThoroughness?: boolean;

Defined in: tools/builtin/task.ts:140

Whether this agent type supports thoroughness levels

systemPrompt?

optional systemPrompt?: string;

Defined in: tools/builtin/task.ts:110

System prompt for this agent type

toolInheritance?

optional toolInheritance?: "filter" | "none" | "all";

Defined in: tools/builtin/task.ts:148

Tool inheritance mode:

  • ‘none’: Only use tools specified in this config
  • ‘all’: Inherit all parent tools plus config tools
  • ‘filter’: Inherit parent tools filtered by allowedTools/deniedTools

tools?

optional tools?: (string | Tool<object>)[];

Defined in: tools/builtin/task.ts:115

Tools available to this agent type (tool names or Tool instances)