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

Method parameters

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

Source from the content-addressed store, hash-verified

68
69 @property
70 def parameters(self) -> dict[str, Any]:
71 return {
72 "type": "object",
73 "properties": {
74 "query": {
75 "type": "string",
76 "description": "Search query string",
77 },
78 "max_results": {
79 "type": "integer",
80 "description": "Maximum number of results to return (1-10)",
81 },
82 },
83 "required": ["query"],
84 }
85
86 async def execute(self, **kwargs) -> ToolResult:
87 """Mock execute method."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected