Skip to content
PricingReleases

AppMcpToolContext

Defined in: mcp.ts:82

Context passed to app MCP tool handlers at call time.

appId: string

Defined in: mcp.ts:83


optional recursiveSessionId?: string | null

Defined in: mcp.ts:85

Recursive session ID from the MCP transport, if available.


optional recursiveSessionIdTrusted?: boolean

Defined in: mcp.ts:91

Whether recursiveSessionId came from an authoritative transport binding (spawn token / hint / pending claim) rather than a tool argument. Absent means unknown — treat as untrusted. Scope-enforcing wrappers rely on this.