class documentation
class _McpCallToolRequest(BaseModel): (source)
Serializable activity input for an MCP call_tool invocation.
Carries the tool name and arguments the Gemini SDK's AFC loop selected; the worker-side activity forwards them to the real mcp.ClientSession. The mcp.types.ListToolsResult / CallToolResult returned by the activities are themselves Pydantic models, so they serialize directly via the plugin's PydanticPayloadConverter and need no wrapper here.