Get an upload address
request_uploadOn one site of the account, named in site. For a file that you hold: a picture the person gave you in the chat, or one that you made. Answers an upload address and a curl command. Run the command in your sandbox or terminal, once for each file; the address takes any number of files for 15 minutes. Each upload answers the library address and the Markdown to paste () into create_post, replace_post or edit_post, or the url for set_feature_image. Pictures, films, sound and PDF; up to 64 MB. If curl cannot reach the address, ask the person one time to allow the domain allowed_domain in their app's network settings (in Claude: Settings › Capabilities). Never ask the person to add the picture in the editor.
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>"
},
"name": "request_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to work on, as list_sites names it |