# Mastodon account posts

Latest public posts of one account, newest first, by the numeric id from mastodon/account: HTML content, time, media, card, reblog, favourite and reply counts. Needs id.

Latest public posts of one account, newest first, by the numeric id from mastodon/account: HTML content, time, media, card, reblog, favourite and reply counts. For accounts on other servers it returns only what mastodon.social has received. Page back with max_id set to the last post id. Each post is about 6,000 characters: keep limit small. Answers 404 for an unknown id.

- Tool ID: `mastodon/account-posts`
- Provider: [Mastodon](/providers/mastodon.md)
- Capability: [Social media](/tools/social-media.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[0-9]{1,20}$",
      "description": "Numeric account id from mastodon/account, e.g. '13179'"
    },
    "exclude_replies": {
      "type": "boolean",
      "default": true,
      "description": "Leave out replies, e.g. true"
    },
    "exclude_reblogs": {
      "type": "boolean",
      "default": true,
      "description": "Leave out reblogs, e.g. true"
    },
    "only_media": {
      "type": "boolean",
      "description": "Only posts with media attached, e.g. false"
    },
    "max_id": {
      "type": "string",
      "pattern": "^[0-9]{1,20}$",
      "description": "Return posts older than this post id, e.g. '115483000000000000'"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 40,
      "default": 3,
      "description": "Posts to return, e.g. 3"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "mastodon/account-posts",
  "input": {
    "id": "13179",
    "limit": 2
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Attribution: Public data from mastodon.social (Mastodon GmbH); content belongs to its authors.

[Provider documentation](https://docs.joinmastodon.org/methods/accounts/#statuses)

[REST inspection](https://api.agentik.cc/v1/tools/mastodon/account-posts) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/mastodon/account-posts) · [Agent index](/llms.txt)
