Interface: AgentLayoutRoute
Stable identity of the route a layout is wrapping, baked at compile time
from the route graph. name is the protocol-facing name: the MCP tool,
resource, or prompt name, the space-joined CLI command path, or the script
name. The layout component's props type, AgentLayoutProps, ships from
@agent-bundle/runtime because it carries React's ReactNode children and
this package's root declarations stay React-free for config-only consumers.
Properties
id
readonlyid:string
kind
readonlykind:AgentLayoutRouteKind
name
readonlyname:string
serverId?
readonlyoptionalserverId?:string
The owning MCP server id (mcp:<name>); MCP route kinds only.