from typing import Any from pydantic import BaseModel class ToolInput(BaseModel): """工具调用请求体""" tool_name: str payload: Any