navigate
Scroll the score viewport to the start or end of the current flow, leaving the caret unchanged. For reaching a specific bar, use goto_bar instead.
Instructions
Scroll the score viewport to the start or end of the flow.
Moves what is on screen through View.MoveViewportTo*, and nothing else: the
caret stays where it was and no music changes.
Returns:
Result dictionary reporting the scroll, or the redirect for target='bar'.
Note:
Use goto_bar instead to put the caret somewhere, which is what note entry
needs. This tool would scroll past the bar and leave the caret behind. A
target of 'bar' says so rather than doing half the job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | Bar number counted from 1, read only when target is 'bar'. Ignored for 'start' and 'end'. | |
| target | Yes | Where to scroll: 'start' for the beginning of the flow, 'end' for the end. 'bar' is accepted and redirects to goto_bar, because reaching a bar means moving the caret rather than the viewport. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||