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

Method parameters

tests/test_tool_schema.py:78–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76
77 @property
78 def parameters(self) -> dict[str, Any]:
79 return {
80 "type": "object",
81 "properties": {
82 "query": {
83 "type": "string",
84 "description": "Search query",
85 },
86 "filters": {
87 "type": "object",
88 "properties": {
89 "category": {"type": "string"},
90 "min_price": {"type": "number"},
91 "max_price": {"type": "number"},
92 },
93 },
94 "limit": {
95 "type": "integer",
96 "minimum": 1,
97 "maximum": 100,
98 "default": 10,
99 },
100 },
101 "required": ["query"],
102 }
103
104 async def execute(self, **kwargs) -> ToolResult:
105 return ToolResult(success=True, content="Search results")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected