models Package

Common models for MCP tooling.

This module defines data models used across the MCP tooling framework.

Modules

chat_history_message

Chat history message model.

chat_message_request

Chat message request model.

mcp_server_config

MCP Server Configuration model.

tool_options

Tooling Options model.

Classes

ChatHistoryMessage

Represents a single message in the chat history.

This model is used to capture individual messages exchanged between users and the AI assistant for threat protection analysis and compliance monitoring.

ChatMessageRequest

Request payload for sending chat history to MCP platform.

This model represents the complete request body sent to the MCP platform's chat history endpoint for threat protection analysis. It includes the current conversation context and historical messages.

The model uses field aliases to serialize to camelCase JSON format as required by the MCP platform API.

MCPServerConfig

Represents the configuration for an MCP server, including its name and endpoint.

ToolOptions

Configuration options for tooling operations.