mastodon_create_toot
Create and publish Mastodon toots with customizable visibility, media attachments, alt text, and scheduling options. Manage content sensitivity and add spoiler warnings as needed.
Instructions
Create a new toot (status) on Mastodon, optionally with media attachments
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | The text content of the toot | |
media_description | No | Alt text / description for the attached media | |
media_file | No | Path to a media file to attach (image, video, or audio) | |
scheduled_at | No | Optional ISO 8601 datetime string to schedule the toot for a future time. Examples: 2024-01-01T10:00:00Z, 2024-01-01T10:00:00+01:00 | |
sensitive | No | Mark the toot as sensitive content | |
spoiler_text | No | Text to be shown as a warning before the actual content | |
visibility | No | The visibility level of the toot | public |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content": {
"description": "The text content of the toot",
"type": "string"
},
"media_description": {
"description": "Alt text / description for the attached media",
"type": "string"
},
"media_file": {
"description": "Path to a media file to attach (image, video, or audio)",
"type": "string"
},
"scheduled_at": {
"description": "Optional ISO 8601 datetime string to schedule the toot for a future time. Examples: 2024-01-01T10:00:00Z, 2024-01-01T10:00:00+01:00",
"format": "date-time",
"type": "string"
},
"sensitive": {
"default": false,
"description": "Mark the toot as sensitive content",
"type": "boolean"
},
"spoiler_text": {
"default": "",
"description": "Text to be shown as a warning before the actual content",
"type": "string"
},
"visibility": {
"default": "public",
"description": "The visibility level of the toot",
"enum": [
"public",
"unlisted",
"private",
"direct"
],
"type": "string"
}
},
"required": [
"content"
],
"type": "object"
}