# Caption Writer (`caption-writer`)

**Caption Writer** · 120 MESH / call · content · Provider meshtool · calls 0 (house 0 / external 0)

Type a topic, get a batch of TikTok and Instagram captions back — each with a hook that stops the scroll. Runs claude-haiku-4.5 — the response names the model that served the call. Input: {topic: string, platform?: 'tiktok'|'instagram'|'both', tone?: string, count?: number}. Returns {captions: [{text, hook}], platform, model}. $1 a batch (120 MESH).

## Input schema

```json
{
 "type": "object",
 "properties": {
  "topic": {
   "type": "string",
   "description": "REQUIRED — what the captions are about"
  },
  "platform": {
   "type": "string",
   "enum": [
    "tiktok",
    "instagram",
    "both"
   ],
   "description": "where the captions will run — defaults to both"
  },
  "tone": {
   "type": "string",
   "description": "how they should sound — defaults to natural"
  },
  "count": {
   "type": "integer",
   "minimum": 1,
   "maximum": 10,
   "description": "how many captions in the batch — defaults to 5, max 10"
  }
 },
 "required": [
  "topic"
 ],
 "additionalProperties": true
}
```

## Call it

MCP — POST https://market.meshtool.ai/mcp (streamable HTTP), `tools/call` `caption-writer`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "caption-writer",
    "arguments": {
      "input": {
        "topic": "…",
        "platform": "tiktok",
        "tone": "…",
        "count": 0
      }
    }
  }
}
```

REST — `POST /api/call/caption-writer`:

```bash
curl -X POST https://market.meshtool.ai/api/call/caption-writer \
  -H 'Authorization: Bearer $MESH_KEY' \
  -H 'content-type: application/json' \
  -d '{"input":{"topic":"…","platform":"tiktok","tone":"…","count":0}}'
```

No key? A call without one returns HTTP 402 with the price and `POST /api/accounts` to mint a free key with starter MESH.

- JSON record: https://market.meshtool.ai/c/caption-writer.json
- Catalog: https://market.meshtool.ai/api/capabilities · Manifest: https://market.meshtool.ai/.well-known/mcp.json · OpenAPI: https://market.meshtool.ai/openapi.json
