Prompts and resources Resources
Note format Markdown
The resource xale://formats/note says how to send a Note: GitHub-flavoured Markdown, what's kept, what's dropped, and how the title is chosen.
The resource
| Field | Value |
|---|---|
uri | xale://formats/note |
name | note-format |
title | How to send a Note (Markdown) |
mimeType | text/markdown |
resources/read with { "uri": "xale://formats/note" } returns this text:
markdown
# Sending a Note to Xale (xale_save_note)
Send GitHub-flavoured Markdown. Kept: headings (#, ##, ###), paragraphs, **bold**, *italic*, ~~strike~~, `code`, fenced code blocks, quotes, links, bullet and numbered lists, task lists (- [ ] and - [x], kept as text), and tables.
HTML is shown as text and never rendered. Links that aren't web links are dropped and listed in the result. Images are dropped and counted.
Title: pass `title`, or start with a `# Heading` and leave `title` out.
Always send a new `requestId` for a new save, and the same one if you retry.A sample
json
{
"markdown": "# Lisbon trip\n\nFlights booked for **14 March**.\n\n## Still to do\n\n- [ ] Book the hotel\n- [x] Renew passport\n",
"areaIds": ["a_travel"],
"requestId": "note-2026-12-02-lisbon"
}This becomes a Note called "Lisbon trip" with one heading and a task list kept as text.
Limits
| Limit | Value | Enforced |
|---|---|---|
markdown | 1 to 240,000 characters | Yes, by the schema |
title | up to 500 characters | Yes |
| The whole call | 256 KB | Yes: HTTP 413 |
| A Note's visible text | 100,000 characters, 500 KB stored | Yes |
| Quotes and lists nested | 32 levels | Yes: "Quotes and lists can be nested at most 32 levels deep." |
For something longer, save the first part, then add the rest with xale_. All the numbers: Size limits · notes, maps, calls.
How it's served
Find the resource by URI in resources/list. An unknown uri in resources/read returns -32002, "Resource not found."
For people
- Checked against main
d2feeb6e