A class representing a toolkit for interacting with Klavis API.This class provides methods for interacting with Klavis MCP server
instances, retrieving server information, managing tools, and handling
authentication.Parameters:
api_key (str): The API key for authenticating with Klavis API.
base_url (str): The base URL for Klavis API endpoints.
timeout (Optional[float]): The timeout value for API requests in seconds. If None, no timeout is applied. (default: :obj:None)
Calls a remote MCP server tool directly using the provided server
URL.Parameters:
server_url (str): The full URL for connecting to the MCP server via Server-Sent Events (SSE).
tool_name (str): The name of the tool to call.
tool_args (Optional[Dict[str, Any]]): The input parameters for the tool. Defaults to None, which might be treated as empty args by the server. (default: :obj:None)
Returns:Dict[str, Any]: Response containing the result of the tool call
or an error.