# update_content

Source: https://heyeveryone.ai/docs/mcp/update_content

> Change a content item's title, campaign labels (replaces the list), owner, planning date (`plannedFor`, YYYY-MM-DD in the workspace's time zone, null to clear; a planning aid that never schedules anything), planning time (`plannedTime`, HH:MM 24-hour on that day, null for the whole day; needs a planning date; clearing the date clears the time, moving the date keeps it), or its card's place in its board column (`place`: the ids of the cards it should sit between; null for the top or bottom). For another column use set_content_status; for the idea's text, update_original.

Change a content item's title, campaign labels (replaces the list), owner, planning date (`plannedFor`, YYYY-MM-DD in the workspace's time zone, null to clear; a planning aid that never schedules anything), planning time (`plannedTime`, HH:MM 24-hour on that day, null for the whole day; needs a planning date; clearing the date clears the time, moving the date keeps it), or its card's place in its board column (`place`: the ids of the cards it should sit between; null for the top or bottom). For another column use set_content_status; for the idea's text, update_original.

## Access and cost

- Kind: mutation
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false

## Input schema

```json
{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "pieceId": {
      "format": "uuid",
      "type": "string"
    },
    "title": {
      "maxLength": 300,
      "minLength": 1,
      "type": "string"
    },
    "campaignLabels": {
      "items": {
        "maxLength": 60,
        "minLength": 1,
        "type": "string"
      },
      "maxItems": 10,
      "type": "array"
    },
    "ownerAccountId": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "plannedFor": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "plannedTime": {
      "anyOf": [
        {
          "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "place": {
      "properties": {
        "afterPieceId": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "beforePieceId": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "afterPieceId",
        "beforePieceId"
      ],
      "type": "object"
    }
  },
  "required": [
    "workspaceId",
    "pieceId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "additionalProperties": false,
  "properties": {
    "piece": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "workspaceId": {
          "format": "uuid",
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "status": {
          "enum": [
            "idea",
            "drafting",
            "in_review",
            "scheduled",
            "published"
          ],
          "type": "string"
        },
        "campaignLabels": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "ownerAccountId": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "boardPosition": {
          "type": "string"
        },
        "archivedAt": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "createdByAccountId": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "createdByAgentClientId": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "createdAt": {
          "format": "date-time",
          "type": "string"
        },
        "updatedAt": {
          "format": "date-time",
          "type": "string"
        },
        "signoffRequired": {
          "type": "boolean"
        },
        "plannedFor": {
          "anyOf": [
            {
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "plannedTime": {
          "anyOf": [
            {
              "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "id",
        "workspaceId",
        "title",
        "status",
        "campaignLabels",
        "ownerAccountId",
        "boardPosition",
        "archivedAt",
        "createdByAccountId",
        "createdByAgentClientId",
        "createdAt",
        "updatedAt",
        "signoffRequired"
      ],
      "type": "object"
    },
    "url": {
      "description": "The content page in heyeveryone. Give it to the person so they can open the draft.",
      "type": "string"
    }
  },
  "required": [
    "piece",
    "url"
  ],
  "type": "object"
}
```

## Errors

```json
[]
```

## Annotations

```json
{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": false,
  "title": "Update content"
}
```
