Get Mastodon posts by id
mastodon_posts_batch_getFetch up to 20 Mastodon posts by ID from a specified server in one request, returning a list for batch retrieval and analysis.
Instructions
Get up to 20 Mastodon posts by their ids. Requires host and ids. Returns a list.
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": {
"host": "<host>",
"ids": "<ids>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "mastodon_posts_batch_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Required. Comma-separated post ids on `host`, 1 to 20. Ids belong to that server. | |
| host | Yes | Required. The Mastodon server to ask, e.g. `mastodon.social`. A server URL is also accepted. The server you name is the one that answers. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |