knowledge_code
Index code and search for symbols, definitions, and callers. Manage index lifecycle with rebuild, update, and removal, plus fallback recording for missing references.
Instructions
Code index, symbols, callers, fallback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| kinds | No | ||
| query | No | ||
| action | Yes | status=index;rebuild=recreate;update=refresh;remove=drop;search=find;symbol=definition;references=callers of symbol;read=URI;record_fallback=raw lookup. | |
| symbol | No | ||
| max_chars | No | ||
| symbol_id | No | ||
| max_results | No | ||
| resource_uri | No | ||
| path_prefixes | No | ||
| fallback_reason | No | ||
| recovered_evidence | No | ||
| fallback_result_count | No | ||
| fallback_result_paths | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| guidance | No | ||
| nextAction | Yes | ||
| resultText | No |