upload_media_from_file
Upload a local file to a Postoria workspace by providing the file path and workspace ID.
Instructions
Upload a local file from the machine running this MCP server. Local stdio mode only.
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": {
"workspace_id": "<workspace_id>",
"file_path": "<file_path>"
},
"name": "upload_media_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional filename to use in Postoria. Defaults to the local file basename. | |
| file_path | Yes | Path to a local file on the machine running the MCP server. | |
| content_type | No | Optional MIME content type. If omitted, it is inferred from the filename. | |
| workspace_id | Yes | Postoria workspace ID. |