Create File Upload
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
agent_ready - Risk:
write - Catalog version:
manus-2026.07.12.2 - Descriptor hash:
b044846c5d9396f7ace27aad1e2f96e7f3e7b47cc84e683059976aca166406fd
Use this Manus write tool when you need to create a manus file record and presigned upload url. requires confirmation. It contacts the configured Manus API v2 POST /v2/file.upload endpoint and requires a request-scoped x-manus-api-key. Creates file record and presigned upload URL; confirm required. It is dry-run by default and requires confirm=true after approval before the provider write executes. The result is a compact, secret-redacted object and never includes the Portal grant or provider credential.
Request Body
{
"jsonrpc": "2.0",
"id": "manus-create-file-upload-example",
"method": "tools/call",
"params": {
"name": "manus.create_file_upload",
"arguments": {
"filename": "filename_example",
"confirm": false,
"dry_run": false
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"filename"
],
"properties": {
"confirm": {
"type": "boolean",
"default": false,
"description": "Set true only after reviewing the dry-run plan and obtaining required approval."
},
"dry_run": {
"type": "boolean",
"default": true,
"description": "Keep true to return a secret-safe execution preview without contacting the write endpoint."
},
"filename": {
"type": "string",
"description": "Display filename, including its extension, for the new Manus upload record."
}
},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the local or provider operation completed successfully."
},
"data": {
"description": "Bounded provider or local result data."
},
"error": {
"description": "Secret-safe provider or validation error details."
},
"dry_run": {
"type": "boolean",
"description": "Whether the result is an execution preview rather than a provider mutation."
},
"message": {
"type": "string",
"description": "Human-readable status or recovery guidance."
},
"http_status": {
"type": "integer",
"description": "Manus provider HTTP status when an external endpoint was contacted."
},
"next_action": {
"type": "string",
"description": "Recommended next agent action when another step is useful."
},
"confirmation_required": {
"type": "boolean",
"description": "Whether approval is required before a write can execute."
}
},
"description": "Secret-safe Manus MCP operation result.",
"additionalProperties": true
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "manus-create-file-upload-example",
"method": "tools/call",
"params": {
"name": "manus.create_file_upload",
"arguments": {
"filename": "filename_example",
"confirm": false,
"dry_run": false
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "manus-create-file-upload-example",
"method": "tools/call",
"params": {
"name": "manus.create_file_upload",
"arguments": {
"filename": "filename_example",
"confirm": false,
"dry_run": false
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "manus-create-file-upload-example",
"method": "tools/call",
"params": {
"name": "manus.create_file_upload",
"arguments": {
"filename": "filename_example",
"confirm": false,
"dry_run": false
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool manus.create_file_upload executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}