Get system prompt for a tool router session

Returns the system prompt for a ToolRouter session, which can be injected into an agent prompt to improve reliability.

Authentication

x-api-keystring
API key authentication

Path parameters

session_idstringRequiredformat: "toolRouterSessionId"
The unique identifier of the tool router session

Query parameters

modelstringOptional
The LLM model name for prompt customization
user_timezonestringOptional

User’s timezone for date/time formatting

Response

Successfully retrieved the session system prompt.
promptstring
The complete system prompt to use for the tool router session

Errors