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

Method parameters

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

Source from the content-addressed store, hash-verified

130
131 @property
132 def parameters(self) -> dict[str, Any]:
133 return {
134 "type": "object",
135 "properties": {
136 "text": {
137 "type": "string",
138 "description": "Text to translate",
139 },
140 "target_language": {
141 "type": "string",
142 "description": "Target language code (e.g. 'en', 'es', 'fr')",
143 },
144 },
145 "required": ["text", "target_language"],
146 }
147
148 async def execute(self, **kwargs) -> ToolResult:
149 """Mock execute method."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected