# update_caption

> Change a post caption with Wavegrain's MCP server: the update_caption tool needs the write permission. Inputs, outputs and an example call.

> Index of these docs: https://wavegrain.com/developers/llms.txt

**Change a post caption.** Permission: `write`. Changes or removes saved work.

Change a normal (canvas) slideshow's post caption. It withdraws the approval and cancels queued automatic posts. Tailored slideshows use edit_tailored_slideshow.

## Inputs

| Input | Type | Required | Notes |
| --- | --- | --- | --- |
| `slideshowId` | string | yes | A slideshow id from list_slideshows or list_calendar. up to 200 characters |
| `caption` | string | yes | The post caption, up to 2200 characters. |

The fields inside an object or a list are in the JSON Schema at [/developers/mcp-tools.json](/developers/mcp-tools.json).

## Returns

| Field | Type | Notes |
| --- | --- | --- |
| `slideshowId` | string | The slideshow. |
| `caption` | string | The caption now saved. |
| `approvalWithdrawn` | boolean | True when the change took back its approval; approve it again to post. |

## Example call

Send it to `POST https://wavegrain.com/api/mcp` with an access key that has the `write` permission; [Authentication](/developers/authentication) shows how to make one.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_caption",
    "arguments": {
      "slideshowId": "<slideshowId>",
      "caption": "<caption>"
    }
  }
}
```

The call shows only the required inputs, with placeholder values: put your own in.

## Related tools

- [`create_upload`](/developers/mcp-tools/create_upload): Upload an image
- [`edit_tailored_slideshow`](/developers/mcp-tools/edit_tailored_slideshow): Edit a tailored slideshow
- [`restore_tailored_version`](/developers/mcp-tools/restore_tailored_version): Restore a tailored version
- [`cancel_queued_post`](/developers/mcp-tools/cancel_queued_post): Cancel a queued post
- [`create_account_group`](/developers/mcp-tools/create_account_group): Create an account group
- [`set_account_groups`](/developers/mcp-tools/set_account_groups): Put an account in groups
- [All 79 tools](/developers/mcp-tools)
