minimax_agent_task
Autonomously execute coding tasks: reads files, writes code, runs tests, and debugs until the task is complete.
Instructions
Execute a complete coding task autonomously. MiniMax AI will read files, write code, run tests, and debug in an autonomous loop until the task is complete.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>",
"workingDirectory": "<workingDirectory>"
},
"name": "minimax_agent_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Full description of the task for the agent to complete | |
| workingDirectory | Yes | Absolute path to the working directory for file operations | |
| model | No | Model override (default: MINIMAX_DEFAULT_MODEL env var, typically M2.7) | |
| maxIterations | No | Maximum agent loop iterations (default: 25) | |
| systemPrompt | No | Custom system prompt for the agent |