Fetch Mcp Tools
v1.policies.fetch_mcp_tools(PolicyFetchMcpToolsParams**kwargs) -> PolicyFetchMcpToolsResponse
POST/api/v1/policies/fetch_mcp_tools
Fetch available tools from an MCP server using sequential requests.
Makes three requests in sequence:
- initialize - establish session and negotiate protocol
- notifications/initialized - signal ready for operations
- tools/list - get the actual tools list
Parameters
mcp_url: str
The MCP server URL to fetch tools from
Returns
Dict[str, object]
Fetch Mcp Tools
from overmind_lab import OvermindLab
client = OvermindLab()
response = client.v1.policies.fetch_mcp_tools(
mcp_url="mcp_url",
)
print(response){
"foo": "bar"
}Returns Examples
{
"foo": "bar"
}