Capture
captureSave something new into RemainAI, the same thing capturing in the app does: a note, a todo, or a word for the user's dictionary. A note is written in Markdown (headings, lists, checklists, tables, code, links, bold and italic all carry over; a highlight is ==text==, a coloured one text, coloured text text, with the colours gold, lime, mint, sky, lilac, plum, rose and coral); an opening "# Heading" becomes its title, otherwise its first line does. File it with tags (paths like "work" or "reading/papers"; a tag that does not exist yet is created); inline #hashtags in the text do the same and are stripped from the saved text. A todo goes on a list by its tag, e.g. tags ["todo/groceries"] or an existing list's tag from list_todos. If a tag has a behavior (list_tags shows has_behavior), it runs on the capture and its answer comes back in the result; that, and defining a word, spend AI credits and need the ai permission. Call list_tags first when unsure which tag fits. Text passed with no tags and no kind is read for the user's own filing words, as the app does: "call the bank, add this to my work todos" becomes a todo on todo/work (the result's read_as says so).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | note, todo or word. Omit to let the server decide (a short imperative line becomes a todo, anything else a note). | |
| tags | No | Tag paths to file it under, e.g. ["work", "reading/papers"]. | |
| text | Yes | What to save. For a word, just the word or short phrase. | |
| folder | No | Folder path for a note, e.g. "Projects/Alpha". Created if missing, so several captures with the same folder fill a new one. |