aism_media_upload
Uploads an operator-provided local file to a WordPress site's media library with optional title, caption, alt text, and post association. Use it for local files only; remote URLs are not downloaded.
Instructions
Upload a local file using multipart. Does not download remote URLs. Host file-type/size rules and media:write apply.
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": {
"file_path": "<file_path>"
},
"name": "aism_media_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | No | ||
| site | No | Configured site name from aism_sites. Omit for the default site. | |
| title | No | ||
| caption | No | ||
| alt_text | No | ||
| file_path | Yes | Path to an operator-provided local file on the machine running this MCP server. |