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

Class ToolChoiceFunction

app/models/models.py:86–90  ·  view source on GitHub ↗

Tool choice forcing a specific function.

Source from the content-addressed store, hash-verified

84
85
86class ToolChoiceFunction(BaseModel):
87 """Tool choice forcing a specific function."""
88
89 type: Literal["function"]
90 function: ToolChoiceFunctionDetail
91
92
93class Usage(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected