# Post programs: update

URL: /code/mcp/post/records-update · Id: `page:code/mcp/post/records-update`

> The Post Verbs update as MCP do programs, with inputs, result, refusals and an example.

Reference for [Post](/business/nouns/post), one group of [Post programs](/code/mcp/post).

### Post.update
Changes the given properties of a Post. [Verb page](/business/nouns/post/update?interface=mcp).

```text
do: return await $.Post.update(input)
```

Emits `Post.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Post. |
| `format` | `string` | No | The venue’s format, such as `shortVideo` or `thread`. |
| `publishAt` | `datetime` | No | When it goes out. |
| `claims` | `json` | No | The facts it states, each resolving to a record. |
| `reach` | `integer` | No | How many people saw it, as the venue reports. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `post` | [Post](/business/nouns/post) | Yes | The Post. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Post.update({ id: 'post_HiXn57rBdP', publishAt: '2026-10-22T12:00:00Z' })"
  }
}
```