MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / parameters

Method parameters

examples/06_tool_schema_demo.py:36–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

34
35 @property
36 def parameters(self) -> dict[str, Any]:
37 return {
38 "type": "object",
39 "properties": {
40 "location": {
41 "type": "string",
42 "description": "City and state, e.g. 'San Francisco, CA' or 'London, UK'",
43 },
44 "unit": {
45 "type": "string",
46 "enum": ["celsius", "fahrenheit"],
47 "description": "Temperature unit (celsius or fahrenheit)",
48 },
49 },
50 "required": ["location"],
51 }
52
53 async def execute(self, **kwargs) -> ToolResult:
54 """Mock execute method."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected