Interfaces
Interface: AgentDefinition
Generated from the public TypeScript API.
Session-scoped subagent profile. Its prompt, model, tools and MCP servers apply to child tasks; spawnMode chooses fresh or inherited context.
fresh = new context; inherit = fork parent context.