> ## 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.

# Note summaries and templates

> List summaries and generate, edit, or delete a summary in the template and language you choose.

Use `note_summary:read` for reads and `note_summary:write` to generate, edit, or delete summaries.

## How do I generate a summary?

Call `list_summary_templates` and choose a template `id`. When you read one of your own custom templates with `get_summary_template`, its `instructions` array contains the examples you supplied. System keys can read built-in templates only.

Call `create_note_summary` with the note GUID and template ID. Generation requires a user credential with edit access to the note.

```json theme={"system"}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_note_summary",
    "arguments": { "noteGuid": "YOUR_NOTE_GUID", "templateId": 12 }
  }
}
```

If a completed summary already uses the same template and language, the response contains its `summaryId` and `reused: true`. Creating a summary preserves the current main summary. Poll `get_note_summary` with the returned `summaryId` and check `generationStatus`. To edit the completed text, pass the latest `revision` to `update_note_summary_content`.

Set `locale` to a language tag such as `en-US`, or omit it to use the note’s language settings. For `GENERATING`, wait briefly and poll again. For `COMPLETED`, read the content. `FAILED` indicates a failed job. `UNKNOWN` means no usable result or active job is available. A truncated summary also reports `FAILED`. If the text exceeds the editing limit, read `detail.generationStatus` in the 413 response.

## How do I delete a specific summary?

Call `list_note_summaries` with `note` to see each summary’s `id`, template, locale, and creation time in `content`. Confirm the selection, then call `delete_note_summary` with `noteGuid` and `summaryId`. A summary being generated cannot be deleted.

Deleting the main summary makes the newest remaining summary the main one. If timestamps match, the higher ID wins. Deleting the last summary clears the main selection.


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