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

Method parameters

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

Source from the content-addressed store, hash-verified

101
102 @property
103 def parameters(self) -> dict[str, Any]:
104 return {
105 "type": "object",
106 "properties": {
107 "expression": {
108 "type": "string",
109 "description": "Mathematical expression to evaluate, e.g. '2 + 2' or '10 * 5'",
110 }
111 },
112 "required": ["expression"],
113 }
114
115 async def execute(self, **kwargs) -> ToolResult:
116 """Mock execute method."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected