wordpress_upload_media
Upload a local file to the WordPress media library, with options to set title, alt text, and caption.
Instructions
Upload a local file to the WordPress media library.
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": {
"filePath": "<filePath>"
},
"name": "wordpress_upload_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | ||
| title | No | ||
| altText | No | ||
| caption | No |