Tools
Code intelligence
Structured code tools reason about syntax and runtime state instead of treating source as undifferentiated text.
AST search and rewrite
ast_search finds syntax-shaped matches with metavariables. ast_rewrite applies one-language structural transformations where text replacement would confuse shadowing, formatting, or nested syntax.
Debug sessions
debug_session owns debugger lifecycle. debug_request performs breakpoints, stepping, stack inspection, scopes, variables, evaluation, and supported memory operations through the active adapter.
Choose by invariant
| Exact prose or literal | Use bounded text search. |
| Language construct | Use AST search or rewrite. |
| Exported symbol | Use the available semantic language-service capability and inspect references before rename. |
| Runtime value or control flow | Use a debugger session. |