scroll_to
Scroll a Hillnote document to a heading or text so users can see that section in the editor, with an optional pulsing highlight. Use it to show or find a section instead of only quoting it.
Instructions
Take the user to a part of a document: scroll it in the running Hillnote app to a heading or text so they can see it — opens the document in the main editor first if needed. Use this whenever they ask to see, find or go to a section ("show me the Risks section", "where does it say…"), rather than only quoting it. By default the target gets a pulsing highlight that stays until the user clicks anywhere in the editor. Matching is case-insensitive; use exact text from the document (read_document first if unsure). Fails with a clear error if the heading/text is not found.
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": {
"workspace": "<workspace>",
"document": "<document>"
},
"name": "scroll_to"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Exact text to scroll to (first occurrence). Provide heading, text, or anchorId. | |
| heading | No | A heading to scroll to (exact or partial match). Provide heading, text, or anchorId. | |
| anchorId | No | A section-anchor id in the document ([text]{#id} marks, or the fragment of a doc:…#id link) to scroll to. Provide heading, text, or anchorId. | |
| document | Yes | Document ID, title, fileName, or registry path | |
| highlight | No | Pulse-highlight the target until the user clicks (default true) | |
| workspace | Yes | Workspace path or name |