wordpress_upload_media
Upload images and files to WordPress media library using base64 encoded files. Add media content to your WordPress site programmatically for content management and publishing workflows.
Instructions
Upload image or file to WordPress media library (provide base64 encoded file)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileBase64 | Yes | ||
| filename | Yes |
Input Schema (JSON Schema)
{
"properties": {
"fileBase64": {
"type": "string"
},
"filename": {
"type": "string"
}
},
"required": [
"fileBase64",
"filename"
],
"type": "object"
}