Media Post
media_postUpload an image, video, or audio file to Mastodon. Include alt text for accessibility.
Instructions
Upload a media file (image, video, audio) to Mastodon.
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": "media_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the media file to upload. | |
| description | No | Alt text / accessibility description for the media. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |