WordPress: Upload media chunked start
wordpress_upload_media_chunked_startStart a chunked upload session for a large media file to get a session_id and optional upload URL for sending raw bytes, avoiding large base64 in tool calls.
Instructions
[UNIFIED] Start a chunked upload session for a large media file. Returns a session_id for finish/status/abort. On per-user MCP endpoints it also returns a relative upload_url so an agent can PUT raw bytes with curl --data-binary @file, using the same Bearer token, instead of embedding large base64 in tool calls. Use the chunk tool only as the fallback path. TTL 1h, hard cap 500 MB per session.
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": {
"site": "<site>",
"filename": "<filename>",
"total_bytes": "<total_bytes>"
},
"name": "wordpress_upload_media_chunked_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime | No | ||
| site | Yes | ||
| sha256 | No | ||
| filename | Yes | ||
| total_bytes | Yes |