MCPcopy Create free account
hub / github.com/Mercury7353/PyBench / Function

Class Function

llms/schema.py:85–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84
85class Function(BaseModel):
86 arguments: str
87 """
88 The arguments to call the function with, as generated by the model in JSON
89 format. Note that the model does not always generate valid JSON, and may
90 hallucinate parameters not defined by your function schema. Validate the
91 arguments in your code before calling your function.
92 """
93
94 name: str
95 """The name of the function to call."""
96
97
98class ToolCall(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected