files_upload
Upload files (documents, audio, images, etc.) for use with MiniMax AI services. Specify the purpose to apply correct validation rules.
Instructions
Upload a file (document, audio, image, etc.) for downstream use. Use purpose=voice_clone before speech_voice_clone.
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": {
"purpose": "<purpose>",
"file_path": "<file_path>"
},
"name": "files_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | Yes | What the file will be used for; affects validation rules | |
| filename | No | Override filename (defaults to basename of file_path) | |
| file_path | Yes | Absolute filesystem path of the file to upload |