Draw one figure in Wren
draw_figureDraw ONE standalone figure in the user's Wren notebook, big on its own page: a graph, labelled diagram, chart, table, timeline, flowchart, mind map, concept map, number line or shapes. Notes, explanations, worked examples, summaries or text to copy go to write_notebook_page (a figure that goes with text: a figure block there). No target: a new note. target.noteId: a new page at the end of that note (same topic -> same note); with target.pageNumber: drawn onto that page if Wren wrote it (mode append keeps its ink, replace redraws it). The result has a private link (noteUrl; opens in the user's Wren account after sign-in): give it to the user.
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>",
"llm_model": "<llm_model>"
},
"name": "draw_figure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | A new note's title. | |
| figure | Yes | ||
| target | No | ||
| context | No | ||
| subject | No | ||
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |
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 |