ai.wrenapp/wren is an MCP server published by ai.wrenapp, hosted at mcp.wrenapp.ai. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 8 tools, including write_notebook_page, plan_notebook, list_recent_notebooks, get_note, draw_figure.
Ask your AI to write in your Wren notebook: notes, graphs, flowcharts and formulas as real ink.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Writes one handwritten study page into the user's Wren notebook: editable ink, not the user's own handwriting. target.noteId adds it to that note; else a new note. Wren emails the user a link to their first note saved here. A full page (not for verbatim): 110-140 words in 6-8 blocks (a table/figure = ~40 words), a heading per part, 3-6 key terms marked (underline/highlight; a mark's text is exact words of its own block), every number+unit and formula marked as math (its latex keeps every word: 20\ \text{m/s}), one accent, at most 1 short marginNote, the takeaway in a callout (key_answer, key_idea) or summary. layoutHint side_by_side pairs two <=12-word callouts. Unknown fields are refused. Page kinds: worked_example = problem callout (box) + 3-4 steps (1-2 sentences + equation each) + Check heading+paragraph + common_mistake & key_answer callouts. concept_summary = definition callout + boxed equation or table/flowchart + 2 headings with 2-sentence paragraphs + key_idea callout. comparison_sheet = 1-sentence intro + 5-6 row table + heading+paragraph on why it matters + common_mistake & key_idea callouts (side_by_side). process_walkthrough = overview + 4-6 steps, each with label (stage name) + 1-2 sentences, optional flowchart showing what the steps don't + key_idea or summary. revision_sheet = 2-3 headings with concise paragraphs/equations + common_mistake & remember callouts (side_by_side) + 4-item checklist. verbatim = the user's own text, unchanged and once, in paragraph/heading blocks, nothing added.
| Parameter | Type | Description |
|---|---|---|
| title * | string | Page title. |
| accent | string | New note only; an existing notebook keeps its accent. |
| blocks * | array | |
| target | object | |
| context | object | |
| subject | string | Subject the note is filed under. |
| pageKind * | string | worked_example | concept_summary | comparison_sheet | process_walkthrough | revision_sheet | verbatim: layouts above. |
| planSlot | integer | Content page k of the plan (cover not a slot); needs target.noteId only. |
| noteTitle | string | New title for the note and its cover. |
{
"name": "write_notebook_page",
"title": "Write a handwritten Wren notebook page",
"description": "Writes one handwritten study page into the user's Wren notebook: editable ink, not the user's own handwriting. target.noteId adds it to that note; else a new note. Wren emails the user a link to their first note saved here. A full page (not for verbatim): 110-140 words in 6-8 blocks (a table/figure = ~40 words), a heading per part, 3-6 key terms marked (underline/highlight; a mark's text is exact words of its own block), every number+unit and formula marked as math (its latex keeps every word: 20\\ \\text{m/s}), one accent, at most 1 short marginNote, the takeaway in a callout (key_answer, key_idea) or summary. layoutHint side_by_side pairs two <=12-word callouts. Unknown fields are refused. Page kinds: worked_example = problem callout (box) + 3-4 steps (1-2 sentences + equation each) + Check heading+paragraph + common_mistake & key_answer callouts. concept_summary = definition callout + boxed equation or table/flowchart + 2 headings with 2-sentence paragraphs + key_idea callout. comparison_sheet = 1-sentence intro + 5-6 row table + heading+paragraph on why it matters + common_mistake & key_idea callouts (side_by_side). process_walkthrough = overview + 4-6 steps, each with label (stage name) + 1-2 sentences, optional flowchart showing what the steps don't + key_idea or summary. revision_sheet = 2-3 headings with concise paragraphs/equations + common_mistake & remember callouts (side_by_side) + 4-item checklist. verbatim = the user's own text, unchanged and once, in paragraph/heading blocks, nothing added.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"title",
"pageKind",
"blocks"
],
"properties": {
"title": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "Page title."
},
"accent": {
"enum": [
"blue",
"green",
"purple"
],
"type": "string",
"description": "New note only; an existing notebook keeps its accent."
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"text": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "heading, paragraph, callout, summary."
},
"type": {
"enum": [
"heading",
"paragraph",
"steps",
"equation",
"callout",
"figure",
"checklist",
"summary"
],
"type": "string"
},
"boxed": {
"type": "boolean"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"done": {
"type": "boolean"
},
"text": {
"type": "string",
"maxLength": 300,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 16,
"minItems": 1
},
"marks": {
"type": "array",
"items": {
"type": "object",
"required": [
"text",
"as"
],
"properties": {
"as": {
"enum": [
"underline",
"highlight",
"math"
],
"type": "string"
},
"text": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Exact words in block."
},
"latex": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "math only."
}
},
"additionalProperties": false
},
"maxItems": 12,
"description": "On paragraph, callout, summary, checklist, steps, table."
},
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [
"explain"
],
"properties": {
"label": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"explain": {
"type": "string",
"maxLength": 600,
"minLength": 1
},
"equation": {
"type": "string",
"maxLength": 400,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 12,
"minItems": 1,
"description": "label = stage name."
},
"style": {
"enum": [
"key_answer",
"box",
"highlight",
"remember",
"warning",
"common_mistake",
"definition",
"key_idea",
"example"
],
"type": "string",
"description": "callout: box=problem, key_answer, definition, key_idea, example, warning, common_mistake, remember, highlight."
},
"title": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "Caption of a callout, summary, checklist, steps, equation or figure."
},
"equation": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "LaTeX."
},
"figureKind": {
"enum": [
"graph_2d",
"formula",
"annotation",
"table",
"bar_chart",
"timeline",
"flowchart",
"mindmap",
"concept_map"
],
"type": "string"
},
"layoutHint": {
"enum": [
"full_width",
"side_by_side"
],
"type": "string",
"description": "side_by_side pairs with next short block."
},
"marginNote": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Short fact beside this block."
},
"figureContent": {
"type": "object",
"description": "table {headers,rows}; flowchart {nodes:[{id,label}],edges:[{from,to}],cycle:true only if it repeats}; timeline {events:[{id,at,label}]}; bar_chart {bars:[{label,value}]}; graph_2d {curves:[{expr}]}.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": false
},
"maxItems": 24,
"minItems": 1
},
"target": {
"type": "object",
"properties": {
"action": {
"enum": [
"new_note",
"add_page",
"replace_page"
],
"type": "string"
},
"noteId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"pageNumber": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"properties": {
"course": {
"type": "string",
"description": "Course name, printed on the notebook cover."
},
"subject": {
"type": "string",
"description": "Subject, printed on the notebook cover and used to file the note."
},
"language": {
"type": "string",
"description": "BCP-47 language tag of the page text; sets the writing direction (right-to-left or left-to-right)."
}
},
"additionalProperties": false
},
"subject": {
"type": "string",
"maxLength": 120,
"description": "Subject the note is filed under."
},
"pageKind": {
"enum": [
"worked_example",
"concept_summary",
"comparison_sheet",
"process_walkthrough",
"revision_sheet",
"verbatim"
],
"type": "string",
"description": "worked_example | concept_summary | comparison_sheet | process_walkthrough | revision_sheet | verbatim: layouts above."
},
"planSlot": {
"type": "integer",
"maximum": 30,
"minimum": 1,
"description": "Content page k of the plan (cover not a slot); needs target.noteId only."
},
"noteTitle": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "New title for the note and its cover."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"hint": {
"type": "string",
"description": "Set when the page came out short: what to add."
},
"mode": {
"type": "string"
},
"plan": {
"type": "object",
"required": [
"total",
"doneCount",
"statusText",
"slots"
],
"properties": {
"slots": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"total": {
"type": "number"
},
"doneCount": {
"type": "number"
},
"statusText": {
"type": "string"
}
},
"additionalProperties": false
},
"title": {
"type": "string"
},
"noteId": {
"type": "string"
},
"pageId": {
"type": "string"
},
"noteUrl": {
"type": "string",
"description": "Private link to the note in the user's Wren account (opens after sign-in)."
},
"outline": {
"type": "array",
"items": {
"type": "string"
}
},
"location": {
"type": "string"
},
"pageKind": {
"enum": [
"worked_example",
"concept_summary",
"comparison_sheet",
"process_walkthrough",
"revision_sheet",
"verbatim"
],
"type": "string"
},
"pageCount": {
"type": "number"
},
"pageNumber": {
"type": "number"
},
"strokeCount": {
"type": "number"
},
"semanticType": {
"type": "string"
},
"strokeGroupId": {
"type": "string"
},
"conversationNote": {
"type": "object",
"required": [
"noteId",
"title"
],
"properties": {
"title": {
"type": "string"
},
"noteId": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Write a handwritten Wren notebook page",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Plans a 1-30 page handwritten Wren notebook and writes its cover and contents (page 1; over 8 pages: a cover page and contents pages). The cover is not a slot: slots are the content pages, numbered from 1. Each slot's page is written by write_notebook_page with target.noteId + planSlot, one page per call. With noteId, the plan extends that existing note: new pages become the next slots after the existing ones. Optional per page: part, a topic group such as "Obstetrics" (separate from the page title). Optional coverFigure: one on-topic sketch drawn small on the cover (about 260x180pt, words at 15pt or more); with 1-2 word labels it holds about: mindmap 4-6 branches, flowchart 4 steps, concept_map 4-8 nodes, timeline 6 events, table 3-6 rows, bar_chart 2-11 bars, annotation 7 lines. A bigger one is drawn larger where the cover has room, else trimmed to its first items; the result names any change. Wren emails the user a link to their first note saved here.
| Parameter | Type | Description |
|---|---|---|
| pages * | array | |
| title * | string | |
| accent | string | one of ["blue","green","purple"] |
| noteId | string | |
| context | object | |
| subject | string | Subject, printed on the cover and used to file the note. |
| coverFigure | object | e.g. formula {latex}, graph_2d {curves:[{expr}]}, mindmap {root, branches} with 4 short branches; drawn small, in one pen. |
{
"name": "plan_notebook",
"title": "Plan a handwritten Wren notebook",
"description": "Plans a 1-30 page handwritten Wren notebook and writes its cover and contents (page 1; over 8 pages: a cover page and contents pages). The cover is not a slot: slots are the content pages, numbered from 1. Each slot's page is written by write_notebook_page with target.noteId + planSlot, one page per call. With noteId, the plan extends that existing note: new pages become the next slots after the existing ones. Optional per page: part, a topic group such as \"Obstetrics\" (separate from the page title). Optional coverFigure: one on-topic sketch drawn small on the cover (about 260x180pt, words at 15pt or more); with 1-2 word labels it holds about: mindmap 4-6 branches, flowchart 4 steps, concept_map 4-8 nodes, timeline 6 events, table 3-6 rows, bar_chart 2-11 bars, annotation 7 lines. A bigger one is drawn larger where the cover has room, else trimmed to its first items; the result names any change. Wren emails the user a link to their first note saved here.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"title",
"pages"
],
"properties": {
"pages": {
"type": "array",
"items": {
"type": "object",
"required": [
"pageKind",
"title",
"covers"
],
"properties": {
"part": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"title": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"covers": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"pageKind": {
"enum": [
"worked_example",
"concept_summary",
"comparison_sheet",
"process_walkthrough",
"revision_sheet",
"verbatim"
],
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 30,
"minItems": 1
},
"title": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"accent": {
"enum": [
"blue",
"green",
"purple"
],
"type": "string"
},
"noteId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"context": {
"type": "object",
"properties": {
"course": {
"type": "string",
"description": "Course name, printed on the notebook cover."
},
"subject": {
"type": "string",
"description": "Subject, printed on the notebook cover and used to file the note."
},
"language": {
"type": "string",
"description": "BCP-47 language tag of the page text; sets the writing direction (right-to-left or left-to-right)."
}
},
"additionalProperties": false
},
"subject": {
"type": "string",
"maxLength": 120,
"description": "Subject, printed on the cover and used to file the note."
},
"coverFigure": {
"type": "object",
"required": [
"figureKind",
"figureContent"
],
"properties": {
"title": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"figureKind": {
"enum": [
"graph_2d",
"formula",
"annotation",
"table",
"bar_chart",
"timeline",
"flowchart",
"mindmap",
"concept_map"
],
"type": "string"
},
"figureContent": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"description": "e.g. formula {latex}, graph_2d {curves:[{expr}]}, mindmap {root, branches} with 4 short branches; drawn small, in one pen.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"mode": {
"type": "string"
},
"plan": {
"type": "object",
"required": [
"total",
"doneCount",
"statusText",
"slots"
],
"properties": {
"slots": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"total": {
"type": "number"
},
"doneCount": {
"type": "number"
},
"statusText": {
"type": "string"
}
},
"additionalProperties": false
},
"title": {
"type": "string"
},
"noteId": {
"type": "string"
},
"pageId": {
"type": "string"
},
"noteUrl": {
"type": "string"
},
"outline": {
"type": "array",
"items": {
"type": "string"
}
},
"location": {
"type": "string"
},
"pageCount": {
"type": "number"
},
"pageNumber": {
"type": "number"
},
"strokeCount": {
"type": "number"
},
"semanticType": {
"type": "string"
},
"strokeGroupId": {
"type": "string"
},
"conversationNote": {
"type": "object",
"required": [
"noteId",
"title"
],
"properties": {
"title": {
"type": "string"
},
"noteId": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Plan a handwritten Wren notebook",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Returns the user's latest notes, newest first: id, title, subject, pages, last edit, the outline of pages Wren wrote, and the note this chat has been writing to.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Notes per call (default 5). |
| cursor | string | nextCursor from the previous call. |
{
"name": "list_recent_notebooks",
"title": "Recent Wren notebooks",
"description": "Returns the user's latest notes, newest first: id, title, subject, pages, last edit, the outline of pages Wren wrote, and the note this chat has been writing to.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "Notes per call (default 5)."
},
"cursor": {
"type": "string",
"maxLength": 20,
"description": "nextCursor from the previous call."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ok",
"notebooks"
],
"properties": {
"ok": {
"type": "boolean"
},
"notebooks": {
"type": "array",
"items": {
"type": "object",
"required": [
"noteId",
"title",
"subject",
"pageCount"
],
"properties": {
"plan": {
"type": "object",
"required": [
"total",
"doneCount",
"statusText",
"slots"
],
"properties": {
"slots": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"total": {
"type": "number"
},
"doneCount": {
"type": "number"
},
"statusText": {
"type": "string"
}
},
"additionalProperties": false
},
"title": {
"type": "string"
},
"noteId": {
"type": "string"
},
"context": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"outline": {
"type": "array",
"items": {
"type": "string"
}
},
"subject": {
"type": "string"
},
"pageCount": {
"type": "number"
},
"updatedAt": {
"type": "number"
}
},
"additionalProperties": false
}
},
"nextCursor": {
"type": "string"
},
"conversationNote": {
"type": "object",
"required": [
"noteId",
"title"
],
"properties": {
"title": {
"type": "string"
},
"noteId": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Recent Wren notebooks",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Returns one note's title, subject, page size and its pages (number, id, ink stroke count, whether Wren can add ink to it). Page numbers match target.pageNumber in write_notebook_page and draw_figure.
| Parameter | Type | Description |
|---|---|---|
| noteId * | string | The note's id, from list_notes or a previous Wren result. |
{
"name": "get_note",
"title": "Get a Wren note",
"description": "Returns one note's title, subject, page size and its pages (number, id, ink stroke count, whether Wren can add ink to it). Page numbers match target.pageNumber in write_notebook_page and draw_figure.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"noteId"
],
"properties": {
"noteId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The note's id, from list_notes or a previous Wren result."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ok",
"note"
],
"properties": {
"ok": {
"type": "boolean"
},
"note": {
"type": "object",
"required": [
"noteId",
"title",
"subject",
"pageCount",
"lastEdited",
"source",
"pageWidth",
"pageHeight",
"pages"
],
"properties": {
"plan": {
"type": "object",
"required": [
"total",
"doneCount",
"statusText",
"slots"
],
"properties": {
"slots": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"total": {
"type": "number"
},
"doneCount": {
"type": "number"
},
"statusText": {
"type": "string"
}
},
"additionalProperties": false
},
"pages": {
"type": "array",
"items": {
"type": "object",
"required": [
"pageId",
"pageNumber",
"pageOrder",
"drawingFormat",
"pageType",
"strokeCount",
"inkBottom",
"ownedByWren",
"editable"
],
"properties": {
"slot": {
"type": "number"
},
"pageId": {
"type": "string"
},
"editable": {
"type": "boolean"
},
"pageKind": {
"type": "string"
},
"pageType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"inkBottom": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageOrder": {
"type": "number"
},
"pageTitle": {
"type": "string"
},
"pageNumber": {
"type": "number"
},
"sourceText": {
"type": "string"
},
"ownedByWren": {
"type": "boolean"
},
"strokeCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"drawingFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"title": {
"type": "string"
},
"noteId": {
"type": "string"
},
"source": {
"enum": [
"user",
"wren-ai"
],
"type": "string"
},
"context": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"noteUrl": {
"type": "string",
"description": "Private link to a note Wren wrote, in the user's own Wren account (sign-in required)."
},
"subject": {
"type": "string"
},
"pageCount": {
"type": "number"
},
"pageWidth": {
"type": "number"
},
"lastEdited": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pageHeight": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get a Wren note",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Draws one standalone figure in the user's Wren notebook, large on its own page: a graph, labelled diagram, chart, table, timeline, flowchart, mind map, concept map, number line or shapes. Figure only, no text blocks (write_notebook_page pages can hold figure blocks next to text). No target: a new note. target.noteId: a new page at the end of that note; with target.pageNumber: drawn onto that page if Wren wrote it (mode append keeps its ink, replace redraws it). The result includes noteUrl, a private link that opens in the user's Wren account after sign-in. Wren emails the user a link to their first note saved here.
| Parameter | Type | Description |
|---|---|---|
| title | string | A new note's title. |
| figure * | object | |
| target | object | |
| context | object | |
| subject | string | Subject a new note is filed under. |
{
"name": "draw_figure",
"title": "Draw one figure in Wren",
"description": "Draws one standalone figure in the user's Wren notebook, large on its own page: a graph, labelled diagram, chart, table, timeline, flowchart, mind map, concept map, number line or shapes. Figure only, no text blocks (write_notebook_page pages can hold figure blocks next to text). No target: a new note. target.noteId: a new page at the end of that note; with target.pageNumber: drawn onto that page if Wren wrote it (mode append keeps its ink, replace redraws it). The result includes noteUrl, a private link that opens in the user's Wren account after sign-in. Wren emails the user a link to their first note saved here.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"figure"
],
"properties": {
"title": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "A new note's title."
},
"figure": {
"type": "object",
"required": [
"kind",
"content"
],
"properties": {
"kind": {
"enum": [
"graph_2d",
"table",
"bar_chart",
"timeline",
"flowchart",
"mindmap",
"concept_map",
"formula",
"labelled_diagram",
"shapes",
"number_line"
],
"type": "string"
},
"content": {
"type": "object",
"description": "graph_2d {prompt:\"y = x^2 - 4\"} (one equation) or {xRange,yRange,curves:[{equation}]}; formula {latex}; table {headers,rows}; bar_chart {bars:[{label,value}],title?}; timeline {events:[{id,at,label}]}; flowchart {nodes:[{id,label}],edges:[{from,to}]}; mindmap {root:{id,label},branches:[{id,label,children?}]}; concept_map {nodes,edges:[{from,to,label}]}; labelled_diagram {center,outline?,labels:[{text,shape?}]}; number_line {min,max,step?,marks?:[{value,label?}]}; shapes {shapes:[{shape,x,y,w,h,label?}]} (x,y,w,h 0..1).",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": false
},
"target": {
"type": "object",
"required": [
"noteId"
],
"properties": {
"mode": {
"enum": [
"append",
"replace"
],
"type": "string"
},
"noteId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"pageNumber": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"properties": {
"course": {
"type": "string",
"description": "Course name, printed on the notebook cover."
},
"subject": {
"type": "string",
"description": "Subject, printed on the notebook cover and used to file the note."
},
"language": {
"type": "string",
"description": "BCP-47 language tag of the page text; sets the writing direction (right-to-left or left-to-right)."
}
},
"additionalProperties": false
},
"subject": {
"type": "string",
"maxLength": 120,
"description": "Subject a new note is filed under."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"title": {
"type": "string"
},
"noteId": {
"type": "string"
},
"pageId": {
"type": "string"
},
"noteUrl": {
"type": "string",
"description": "Private link to the note in the user's Wren account (opens after sign-in)."
},
"pageCount": {
"type": "number"
},
"figureKind": {
"type": "string"
},
"pageNumber": {
"type": "number"
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Draw one figure in Wren",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Returns the stable Wren account id (Firebase uid) and basic profile of the currently linked account; a returned id confirms the account is linked.
No parameters.
{
"name": "get_profile",
"title": "Get Wren profile",
"description": "Returns the stable Wren account id (Firebase uid) and basic profile of the currently linked account; a returned id confirms the account is linked.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Stable Wren account id (Firebase uid), not derived from the email address."
},
"ok": {
"type": "boolean"
},
"uid": {
"type": "string",
"description": "Deprecated alias of id."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"signInProvider": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get Wren profile",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Link the user's Wren account so authored notes land in their notebook. Returns the linked uid when a credential is present; otherwise explains that account linking must be completed first.
No parameters.
{
"name": "connect_account",
"title": "Connect your Wren account",
"description": "Link the user's Wren account so authored notes land in their notebook. Returns the linked uid when a credential is present; otherwise explains that account linking must be completed first.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ok",
"linked",
"uid",
"nextStep"
],
"properties": {
"ok": {
"type": "boolean",
"description": "true when the account is linked."
},
"uid": {
"type": "string",
"description": "Linked Wren account id (Firebase uid)."
},
"linked": {
"type": "boolean",
"description": "The Wren account is linked to this ChatGPT account."
},
"nextStep": {
"type": "string",
"description": "How notes reach the iPad (sign in with the same account)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Connect your Wren account",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Lists the user's Wren notes, most recently edited first, with id, title, subject and page count. The noteId works as target.noteId in write_notebook_page and draw_figure, and as noteId in get_note.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max notes to return (default 20). |
| query | string | Case-insensitive match on title or subject. |
{
"name": "list_notes",
"title": "List Wren notes",
"description": "Lists the user's Wren notes, most recently edited first, with id, title, subject and page count. The noteId works as target.noteId in write_notebook_page and draw_figure, and as noteId in get_note.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Max notes to return (default 20)."
},
"query": {
"type": "string",
"maxLength": 200,
"description": "Case-insensitive match on title or subject."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ok",
"notes"
],
"properties": {
"ok": {
"type": "boolean"
},
"notes": {
"type": "array",
"items": {
"type": "object",
"required": [
"noteId",
"title",
"subject",
"pageCount",
"lastEdited",
"source"
],
"properties": {
"title": {
"type": "string"
},
"noteId": {
"type": "string"
},
"source": {
"enum": [
"user",
"wren-ai"
],
"type": "string"
},
"noteUrl": {
"type": "string",
"description": "Private link to a note Wren wrote, in the user's own Wren account (sign-in required)."
},
"subject": {
"type": "string"
},
"pageCount": {
"type": "number"
},
"lastEdited": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "List Wren notes",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Wren writes real, editable handwritten ink into the user's Wren notebook. write_notebook_page writes one page: notes, an explanation, a worked example, a summary or revision sheet, text to copy, or a figure with text. plan_notebook creates a multi-page notebook with a cover and numbered page slots, each filled by one write_notebook_page call. draw_figure draws one standalone figure (graph, diagram, chart, mind map, number line) on its own page. list_recent_notebooks returns the user's recent notes with their noteIds; target.noteId adds a page to an existing note.
Names, descriptions and schemas were written by the server and are shown as data.