MCPcopy Create free account
hub / github.com/Nativu5/Gemini-FastAPI / ToolFunctionDefinition

Class ToolFunctionDefinition

app/models/models.py:65–70  ·  view source on GitHub ↗

Function definition for tool.

Source from the content-addressed store, hash-verified

63
64
65class ToolFunctionDefinition(BaseModel):
66 """Function definition for tool."""
67
68 name: str
69 description: str | None = Field(default=None)
70 parameters: dict[str, Any] | None = Field(default=None)
71
72
73class Tool(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected