ctx_symbol Analysis & Navigation Read a specific symbol (function, struct, class) by name. Returns only the symbol code block instead of the entire file. 90-97% fewer tokens than full file read.
Parameters
3
Required
1
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
file | string | No | Optional: file path to narrow search |
kind | string | No | Optional: fn|struct|class|method|trait|enum |
name | string | Yes | Symbol name (function, struct, class, method) |
Schema MD5:
6be622cc59d95ceb4ca9f77162b524c2 ← Back to all tools