# Notes actions

> Notes: 5 Xholic actions (2 read, 3 change), each with its MCP tool, REST endpoint and CLI command.

Source: https://docs.xholic.ai/actions/notes/

5 actions. Every field marked *Required* must be sent; `account`, `dryRun`, `idempotencyKey`, `confirmCredits` and `quoteId` are the [control fields](/api/responses/#control-fields) every surface adds.

## Save a note

`notes.add` · write

Save a note to the account's Xholic memory: something to post later ("something like this Thursday"), a plan, a test to run ("try 4 threads vs 4 single posts"), a finding, or work another agent finished that is worth posting about. Xholic adds the numbers of any linked posts, turns a due or triggered note into drafts the user approves, and writes the result back once a post made from it settles. Save only what the user asked for or clearly intends; never notes "just in case". Not for lasting facts or preferences about the user: use remember for those.

- **MCP tool:** `add_note`. Loaded by default in MCP clients.
- **REST:** `POST /v1/notes/add`
- **CLI:** `xholic notes add`
- **Scope:** `write`
- **Plan:** Every plan, including the trial
- **Cost:** Free.
- **Rate limit bucket:** `write`
- **Undo:** from the activity log, which runs `notes.delete`

**Input**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `title` | string ≤ 140 chars | Yes | One line: what to do or what was found. |
| `body` | string ≤ 4000 chars | No | Details, the user's words, the analysis. |
| `kind` | "IDEA" \\| "PLAN" \\| "TEST" \\| "FINDING" \\| "HANDOFF" | No | IDEA (default), PLAN, TEST, FINDING or HANDOFF. |
| `due` | string ≤ 40 chars | No | When to act: a date such as 2026-10-30, a local date and time such as 2026-10-30T09:00 (then pass timezone), or an ISO time with offset. |
| `timezone` | string ≤ 80 chars | No | IANA timezone for due, such as Asia/Kolkata. |
| `trigger` | object | No | Fire on an event instead of a date: OWN_SPIKE (the account's next follower spike or breakout post; for posts that need a real number), MILESTONE (followers or posts crossing a number; the next round follower count when left out), TRACKED_POSTS (one of these accounts posts, optionally about a topic), TOPIC_HEATS (the topic shows up in the account's trends). |
| `posts` | array of string ≤ 2048 chars (max 20) | No | X post URLs or ids the note is about. Xholic adds their numbers and why they worked. |
| `handles` | array of string (max 20) | No | X accounts the note is about. |
| `format` | "relatable_scene" \\| "one_liner" \\| "contrast_pair" \\| "hot_take" \\| "contrarian_reframe" \\| "personal_story" \\| "proof_numbers" \\| "build_update" \\| "list_playbook" \\| "framework" \\| "question" \\| "observation" \\| "trend_reaction" \\| "ironic_humor" \\| "advice" \\| "motivation" \\| "networking" \\| "promotion" \\| "other" | No | The post format, such as question, one_liner, proof_numbers or list_playbook. |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `note` | string ≤ 20000 chars | No | Optional, on any tool: one or two sentences for Xholic's shared memory about what the user just decided, asked for or said about themselves or their plans (e.g. "Dropping threads for now; focusing on replies to founders"). Every AI the user connects reads it, so they never repeat themselves. In your words, never other people's posts. Leave it out when nothing new was said. |
| `dryRun` | boolean | No | Return exactly what would happen without doing it. |
| `idempotencyKey` | string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |

**Example: Post something like a saved post on Thursday**

```bash
curl https://api.xholic.ai/v1/notes/add \
  -H "Authorization: Bearer $XHOLIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Our version of the \"who's in?\" post for AI founders","body":"User loved this one-line call for AI people; 164 replies on 197 likes.","due":"2026-10-30","posts":["https://x.com/NickpxJ/status/1850000000000000000"]}'
```

## Notes

`notes.find` · read

Search the account's notes: what's coming up, ideas from saved posts, tests, findings and their results. Search by words, status, format or a post. Each note has its id, where it came from and any result. When you write a post from a note, pass its id as noteId to show_drafts, save_draft or schedule_post: the note then closes once the post is scheduled and never writes duplicate drafts.

- **MCP tool:** `find_notes`. Loaded by default in MCP clients.
- **REST:** `GET /v1/notes/find`
- **CLI:** `xholic notes find`
- **Scope:** `read`
- **Plan:** Every plan, including the trial
- **Cost:** Free.
- **Rate limit bucket:** `read`

**Input**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string ≤ 200 chars | No | Words to look for in the title or body. |
| `status` | "OPEN" \\| "DONE" \\| "STALE" \\| "DROPPED" \\| "HISTORY" | No | OPEN (coming up, default), DONE, STALE or DROPPED; HISTORY is DONE, STALE and DROPPED together, as the Memory history list shows them. |
| `format` | "relatable_scene" \\| "one_liner" \\| "contrast_pair" \\| "hot_take" \\| "contrarian_reframe" \\| "personal_story" \\| "proof_numbers" \\| "build_update" \\| "list_playbook" \\| "framework" \\| "question" \\| "observation" \\| "trend_reaction" \\| "ironic_humor" \\| "advice" \\| "motivation" \\| "networking" \\| "promotion" \\| "other" | No | The post format, such as question, one_liner, proof_numbers or list_playbook. |
| `post` | string ≤ 2048 chars | No | An X post URL or id the note refers to. |
| `limit` | integer 1–50 | No |  |
| `cursor` | string ≤ 200 chars | No |  |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `note` | string ≤ 20000 chars | No | Optional, on any tool: one or two sentences for Xholic's shared memory about what the user just decided, asked for or said about themselves or their plans (e.g. "Dropping threads for now; focusing on replies to founders"). Every AI the user connects reads it, so they never repeat themselves. In your words, never other people's posts. Leave it out when nothing new was said. |

## A note

`notes.get` · read

One note by id, with where it came from, when it's due or what it waits for, its linked posts and drafts, and its result.

- **MCP tool:** `get_note`. Catalog: reach it with `find_actions` and `run_read_action`, or turn on the full toolset.
- **REST:** `GET /v1/notes/get`
- **CLI:** `xholic notes get`
- **Scope:** `read`
- **Plan:** Every plan, including the trial
- **Cost:** Free.
- **Rate limit bucket:** `read`

**Input**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `noteId` | string (uuid) | Yes | The note id from add_note or find_notes. |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `note` | string ≤ 20000 chars | No | Optional, on any tool: one or two sentences for Xholic's shared memory about what the user just decided, asked for or said about themselves or their plans (e.g. "Dropping threads for now; focusing on replies to founders"). Every AI the user connects reads it, so they never repeat themselves. In your words, never other people's posts. Leave it out when nothing new was said. |

## Update a note

`notes.update` · write

Change a note's text, due date or trigger, or mark it DONE or DROPPED when the user says it is finished or no longer wanted.

- **MCP tool:** `update_note`. Loaded by default in MCP clients.
- **REST:** `POST /v1/notes/update`
- **CLI:** `xholic notes update`
- **Scope:** `write`
- **Plan:** Every plan, including the trial
- **Cost:** Free.
- **Rate limit bucket:** `write`

**Input**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `noteId` | string (uuid) | Yes | The note id from add_note or find_notes. |
| `title` | string ≤ 140 chars | No |  |
| `body` | string ≤ 4000 chars | No |  |
| `due` | string ≤ 40 chars or null | No | When to act: a date such as 2026-10-30, a local date and time such as 2026-10-30T09:00 (then pass timezone), or an ISO time with offset. |
| `timezone` | string ≤ 80 chars | No | IANA timezone for due, such as Asia/Kolkata. |
| `trigger` | object or null | No | Fire on an event instead of a date: OWN_SPIKE (the account's next follower spike or breakout post; for posts that need a real number), MILESTONE (followers or posts crossing a number; the next round follower count when left out), TRACKED_POSTS (one of these accounts posts, optionally about a topic), TOPIC_HEATS (the topic shows up in the account's trends). |
| `status` | "OPEN" \\| "DONE" \\| "DROPPED" | No |  |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `note` | string ≤ 20000 chars | No | Optional, on any tool: one or two sentences for Xholic's shared memory about what the user just decided, asked for or said about themselves or their plans (e.g. "Dropping threads for now; focusing on replies to founders"). Every AI the user connects reads it, so they never repeat themselves. In your words, never other people's posts. Leave it out when nothing new was said. |
| `dryRun` | boolean | No | Return exactly what would happen without doing it. |
| `idempotencyKey` | string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |

## Delete a note

`notes.delete` · write

Delete a note for good. Call it only when the user asked for this in the conversation; never on your own initiative.

- **MCP tool:** `delete_note`. Loaded by default in MCP clients.
- **REST:** `POST /v1/notes/delete`
- **CLI:** `xholic notes delete`
- **Scope:** `write`. Destructive: it can't be taken back
- **Plan:** Every plan, including the trial
- **Cost:** Free.
- **Rate limit bucket:** `write`

**Input**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `noteId` | string (uuid) | Yes | The note id from add_note or find_notes. |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `note` | string ≤ 20000 chars | No | Optional, on any tool: one or two sentences for Xholic's shared memory about what the user just decided, asked for or said about themselves or their plans (e.g. "Dropping threads for now; focusing on replies to founders"). Every AI the user connects reads it, so they never repeat themselves. In your words, never other people's posts. Leave it out when nothing new was said. |
| `dryRun` | boolean | No | Return exactly what would happen without doing it. |
| `idempotencyKey` | string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
