postiz_upload_file
Upload an image or video file to Postiz storage, receiving an identifier and path to attach to social media posts.
Instructions
Upload a media file (image, video) to Postiz storage via POST /api/uploads/file. Returns { id, path } that you can pass into postiz_create_post value[].image[]. Requires enableWrite.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "postiz_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Absolute path to a local file. | |
| base64 | No | Base64-encoded contents. | |
| fileName | No | File name for multipart upload. | |
| mimeType | No | Content-Type. |