mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 21:44:18 +02:00
Add session_id to context documentation
Fast follow to #881 to document the new session_id property. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
60c6441d7b
commit
28fe5082d2
1 changed files with 1 additions and 0 deletions
|
|
@ -293,6 +293,7 @@ async def request_info(ctx: Context) -> dict:
|
|||
|
||||
- **`ctx.request_id -> str`**: Get the unique ID for the current MCP request
|
||||
- **`ctx.client_id -> str | None`**: Get the ID of the client making the request, if provided during initialization
|
||||
- **`ctx.session_id -> str | None`**: Get the MCP session ID for session-based data sharing (HTTP transports only)
|
||||
|
||||
### Advanced Access
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue