live_places
Show document places as clickable buttons so writers can jump the cursor or select a paragraph in Word or LibreOffice without an assistant turn.
Instructions
Show the user a list of places as clickable buttons: in a client that renders MCP Apps, a click moves Word's or LibreOffice's cursor there (mode cursor) or selects the paragraph (mode select) by calling live.select, with no assistant turn. Each place has a label and an at address and/or a find_phrase from para.locate. Use it to walk a writer through findings; live.select jumps to one place directly. Other clients just get the list back. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Path to the document, or the file name of one open in a live app. | |
| mode | No | What a click does: `cursor` (default) puts the cursor at the place's start; `select` selects its paragraph. | |
| engine | No | Always the live engine; may be left out. | |
| places | Yes | The buttons, in order: a `label` and `at` or `find_phrase` each (with both, `find_phrase` is tried when `at` fails). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Always true on success. | |
| op | Yes | The operation that ran. | |
| api | Yes | API version (1.0). | |
| doc | No | The document read or written: path, sha256 and paragraph count. | |
| next | Yes | Cursor for the next page (pass as cursor), or null. | |
| result | Yes | What the operation returns. | |
| warnings | Yes | Things to know about the result. |