get_notes
Lists the notes people left on layers for you, oldest first. Check them when you start work on a file.
What it does
People attach notes to layers in Wonderblok to tell an agent what to change. get_notes reads every note in the file, with the layer it sits on and whether an agent has already picked it up. It only reads, so it needs no guidelines hash and changes nothing.
Wonderblok can also write a note itself when a person uses Send to agent on a problem it found. Those notes carry a kind and a ref, and they close on their own once the problem is gone.
Arguments
- file
- Optional. The file to read, by name from list_files or by path. Leave it out when only one file is open, or to use the file in front in Wonderblok.
What it returns
The text No notes. when there are none, otherwise a JSON array. Each note has:
- id
- The note id. Pass it to ack_note.
- text
- What the person wrote.
- layer
- An object with id, name and path of the layer, where path is the board and the ancestors above it. If the layer was deleted, it is {id, missing: true} instead.
- pickedBy
- Who picked the note up, or null if nobody has.
- reply
- The answer an agent left, or null.
- kind
- For notes Wonderblok wrote: lint, drift or error. Otherwise null.
- ref
- For those notes, the problem as Wonderblok words it. Otherwise null.
Notes come oldest first, so work from the top. A note with pickedBy set was already acknowledged, perhaps by you in an earlier session, and its reply shows what was said. For a top-level frame the layer path is just App. For a layer inside a frame it continues with the names of the layers above it.
Example
get_notes {}[ { "id": "…", "kind": null, "layer": { "id": "NqMPu", "name": "00 · Concept", "path": "App" }, "pickedBy": null, "ref": null, "reply": null, "text": "Make the title bigger" }, …]Notes
- Take a note with ack_note. Pick it up with a reply, make the change, then clear it.
- A note whose layer is missing is still listed, with
missing: truein place of a path. Ask the person what they meant, or clear it. - If several files are open in Wonderblok and none is in front, the call fails and lists the names. Pass one of them as file.
- How people write notes and run checks is covered in Notes and checks.
Was this page helpful?
Edited Nov 8, 2026