Skip to main content

TeamMember

@forge/monorepo


@forge/monorepo / backend/src / TeamMember

Type Alias: TeamMember

TeamMember = object

Defined in: backend/src/flows/index.ts:189

One member of a team. Its own instructions, its own tools, its own limits.

Properties

agentId

readonly agentId: AgentId

Defined in: backend/src/flows/index.ts:191


instructions?

readonly optional instructions?: string

Defined in: backend/src/flows/index.ts:192


maxSteps?

readonly optional maxSteps?: number

Defined in: backend/src/flows/index.ts:202


name

readonly name: string

Defined in: backend/src/flows/index.ts:190


tools?

readonly optional tools?: readonly string[]

Defined in: backend/src/flows/index.ts:201

Tool names this member may use, narrowing the team's own set.

A narrowing, never a widening: the delegation tool intersects this with what the delegating context could reach, so a member cannot be granted something the team was not. #186 AC-3 — "a delegated agent cannot reach a tool the delegating one could not" — is that intersection, and it is enforced where the tool set is built rather than checked afterwards.