createKontextClient
KontextClient instance. See Client SDK for the full usage guide.
KontextClientConfig
Configuration passed tocreateKontextClient.
KontextClient
The client instance returned bycreateKontextClient.
ClientState
KontextTool
A tool discovered through the client SDK.server field is present in hybrid mode, indicating which integration the tool belongs to. In single-endpoint mode, all tools come from one server and this field is omitted.
ToolResult
Result fromclient.tools.execute().
content is the text representation. raw contains the full MCP CallToolResult response.
IntegrationInfo
Integration status fromclient.integrations.list().
connected is false, connectUrl may provide a Kontext manage/connect URL so the user can finish required auth. This can be OAuth or API key (user_token) setup. See Tools for handling disconnected integrations.
KontextStorage
Token persistence interface. Implement this to store tokens outside of memory.MemoryStorage resets on page reload. See Storage for custom implementations.
ConnectSessionResult
Returned byclient.getConnectPageUrl().