Draw one figure in Wren
draw_figureDraws 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"figure": "<figure>"
},
"name": "draw_figure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | A new note's title. | |
| figure | Yes | ||
| target | No | ||
| context | No | ||
| subject | No | Subject a new note is filed under. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| title | No | ||
| noteId | No | ||
| pageId | No | ||
| noteUrl | No | Private link to the note in the user's Wren account (opens after sign-in). | |
| pageCount | No | ||
| figureKind | No | ||
| pageNumber | No |