Mcp
Defines the MCP related schemas.
References
NONE
MCPCall
Bases: BaseModel
Defines an MCP call.
Attributes:
| Name | Type | Description |
|---|---|---|
id |
str
|
The ID of the MCP call. Defaults to an empty string. |
server_name |
str
|
The name of the MCP server. Defaults to an empty string. |
tool_name |
str
|
The name of the tool. Defaults to an empty string. |
args |
dict[str, Any]
|
The arguments of the tool. Defaults to an empty dictionary. |
output |
str | None
|
The output of the tool. Defaults to None. |
MCPServer
Bases: BaseModel
Defines an MCP server.
Attributes:
| Name | Type | Description |
|---|---|---|
url |
str
|
The URL of the MCP server. |
name |
str
|
The name of the MCP server. |
allowed_tools |
list[str] | None
|
The allowed tools of the MCP server. Defaults to None, in which case all tools are allowed. |