get_view_chars
Return text between two character offsets from any open Sublime Text tab. Works with Terminus views and automatically clamps to buffer boundaries.
Instructions
Return text at character offsets begin..end (0-based, end exclusive) from any open tab. Works for Terminus tabs and any other view. Clamps to buffer bounds automatically. Use get_view_size first, then e.g. begin=size-5000, end=size to read the last 5000 chars. Omit name for the active view.
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": {
"begin": "<begin>",
"end": "<end>"
},
"name": "get_view_chars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| begin | Yes | ||
| end | Yes | ||
| name | No |