get_state_brief
Get a lightweight snapshot of the Neovim session: mode, cwd, buffers, and active window with cursor context. Use this read-only tool at the start of each turn to orient yourself.
Instructions
Lightweight snapshot of the Neovim session for quick orientation. Read-only — does not modify any editor state.
Use this at the start of each turn to see what the user is working
on. Use get_state instead when you need the full picture: all
windows, folds, marks, diagnostics summaries, highlights, virtual
text, and indent settings.
Returns: mode (normal/insert/visual/etc.), cwd, buffers (relative paths of all listed buffers), modified_buffers, and active_window: {file, filetype, total_lines, modified, buftype, line, col, context}. context is a short list of numbered lines around the cursor.
If an alternate window exists, also returns alternate_window with
the same fields. When terminal buffers exist, returns terminals — a
list of {buf, name, visible} (targets for send_to_terminal).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||