> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tiro.ooo/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit and recover note content

> Use MCP to edit transcript paragraphs, summaries and document sections. Read the edit state and confirm before undoing edits or restoring generated text.

Pass `noteGuid` to every tool. The editing tools `get_paragraph_content`, `get_note_summary` and `get_note_document_section` return the content, `revision` and `editState.etag` without an extra option. To update the content, pass its `revision` as `expectedRevision`. Every edit is recorded in the edit history.

* Before restoring, undoing or resetting, show the user what will change and ask for confirmation. Recovery can undo someone else’s edits. For tools that take an `etag`, pass the `editState.etag` you read before confirmation. Read the content again after success.
* If the tool error has `status_code` `409` and `error_code` `CONTENT_CONFLICT`, read the latest content and ask the user to confirm again. Never retry automatically with a new value.
* An editing read returns `413 CONTENT_TOO_LARGE` when the content exceeds 5,000 characters. Speaker labels and names count toward the limit for speaker-attributed transcripts. Edit long content in the Tiro app.

## Transcript paragraphs

Use `note:read` for reads and `note:write` for edits and recovery. For a paragraph, use the `uuid` from `get_note_transcript` as `paragraphUuid`. Editing reads and writes return `409 CONTENT_NOT_EDITABLE` for paragraphs locked by the free usage limit.

| Tool | Arguments besides `noteGuid` | Action |
| - | - | - |
| `get_paragraph_content` | `paragraphUuid`, `field` | Read one paragraph field and its edit state. |
| `update_paragraph_content` | `paragraphUuid`, `field`, `expectedRevision`, `content` or `segments` | Replace the text of one paragraph field. |
| `restore_paragraph_content` | `paragraphUuid`, `field`, `expectedRevision` | Restore one paragraph field to its saved generated text. |

For `field` values `transcript` and `translated`, send plain text in `content`. For `summary`, send Markdown. For `diarized-transcript`, send an array of text strings in `segments`, keeping the segment order and count. Speaker assignments are preserved.

This is an example of `structuredContent` returned by `update_paragraph_content`. To undo the edit, call `get_paragraph_content` again and check `editState.undoAvailable` and `editState.etag`.

```json theme={"system"}
{
  "edited": true,
  "revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
```

## Note summaries

Use `note_summary:read` for reads and `note_summary:write` for edits and recovery. Find the `summaryId` with `get_note` and `include: ["summary"]`.

| Tool | Arguments besides `noteGuid` | Action |
| - | - | - |
| `get_note_summary` | `summaryId` | Read a summary and its edit state. |
| `update_note_summary_content` | `summaryId`, `expectedRevision`, `content` | Replace the full summary with Markdown. |
| `restore_note_summary_content` | `summaryId`, `etag` or `expectedRevision` | Restore the summary to its saved generated text. |

For summary restoration, pass exactly one of `etag` or the legacy `expectedRevision`. Resetting with `etag` ends the summary’s previous undo history.

## Document sections

Use `note_document:read` for reads and `note_document:write` for edits and recovery. Both reading and editing a section require note edit permission. A section read returns 403 for a `VIEWER` in the same workspace and 404 when requested from another workspace. Find the `documentId` and `sectionId` with `get_note` and `include: ["documents"]`.

| Tool | Arguments besides `noteGuid` | Action |
| - | - | - |
| `get_note_document_section` | `documentId`, `sectionId` | Read a document section and its edit state. |
| `update_note_document_section_content` | `documentId`, `sectionId`, `expectedRevision`, `content` | Replace the full text of one section with Markdown. |

## Undo and reset

Undo reverses the last saved edit. Reset ends the previous undo history for the affected content.

Before calling `reset_paragraph_contents` or `undo_note_speakers`, call `get_note_transcript` with `includeEditState: true` and read a paragraph’s `editState.etag`. With `get_note`, the same option requests recovery state only for `summary` and `documents` selected in `include`. The default is `false`. If the transcript recovery snapshot is unavailable, the response preserves the transcript and omits `editState` from every paragraph.

| Tool | Arguments besides `noteGuid` | Action |
| - | - | - |
| `undo_paragraph_content` | `paragraphUuid`, `field`, `etag` | Undo the last edit to one paragraph field. |
| `reset_paragraph` | `paragraphUuid`, `etag` | Reset one paragraph’s transcript, translation, speaker-attributed text and speaker assignments. Keep its summary. |
| `reset_paragraph_contents` | `kind`, `etag` | Reset one kind across all paragraphs. The `original` kind includes speaker assignments. |
| `undo_note_speakers` | `etag` | Undo the last speaker assignment in the note. Keep subsequent text edits. |
| `undo_note_summary_content` | `summaryId`, `etag` | Undo the last edit to the summary. |
| `undo_note_document_content` | `documentId`, `etag` | Undo the most recent section edit in the document. |
| `reset_note_document_content` | `documentId`, `etag` | Reset every section in the document to its saved generated text. |

Before calling `reset_paragraph_contents`, check `editState.canResetByKind` for the requested `kind` (`original`, `translated` or `summary`). A document reset always covers the whole document.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.