http_upload
Upload a file via HTTP POST to a specified URL. Supports authentication, custom headers, and form field naming.
Instructions
Upload a file using HTTP POST with curl
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": {
"url": "<url>",
"filePath": "<filePath>"
},
"name": "http_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to upload the file to | |
| auth | No | Authentication configuration | |
| headers | No | Optional headers to include | |
| timeout | No | Request timeout in seconds (default: 60) | |
| filePath | Yes | Path to the file to upload | |
| insecure | No | Allow insecure SSL connections (default: false) | |
| fieldName | No | Form field name for the file (default: file) |