diff --git a/services/www/src/docs/content/mcp-servers.mdx b/services/www/src/docs/content/mcp-servers.mdx index 6c0d9b13adb..4951db4ff3b 100644 --- a/services/www/src/docs/content/mcp-servers.mdx +++ b/services/www/src/docs/content/mcp-servers.mdx @@ -353,7 +353,7 @@ Use permission actions to hide or deny tools without disconnecting their server. ## Context -For calls made on behalf of a session, OpenCode sends the session ID in `CallToolRequest.params._meta.sessionID`. This applies to direct tools and Code Mode over stdio and Streamable HTTP: +For calls made on behalf of a session, OpenCode sends the session ID in `CallToolRequest.params._meta["ai.opencode/sessionID"]`. This applies to direct tools and Code Mode over stdio and Streamable HTTP: ```json { @@ -361,7 +361,7 @@ For calls made on behalf of a session, OpenCode sends the session ID in `CallToo "params": { "name": "lookup", "arguments": { "query": "example" }, - "_meta": { "sessionID": "ses_..." } + "_meta": { "ai.opencode/sessionID": "ses_..." } } } ```