|
4be3595…
|
lmata
|
1 |
[ |
|
4be3595…
|
lmata
|
2 |
{ |
|
4be3595…
|
lmata
|
3 |
"type": "function", |
|
4be3595…
|
lmata
|
4 |
"function": { |
|
4be3595…
|
lmata
|
5 |
"name": "nav_search", |
|
4be3595…
|
lmata
|
6 |
"description": "Search the project knowledge graph for symbols, concepts, rules, and wiki pages. Set all=true to include the knowledge layer.", |
|
4be3595…
|
lmata
|
7 |
"parameters": { |
|
4be3595…
|
lmata
|
8 |
"type": "object", |
|
4be3595…
|
lmata
|
9 |
"properties": { |
|
4be3595…
|
lmata
|
10 |
"query": { "type": "string", "description": "Search term" }, |
|
4be3595…
|
lmata
|
11 |
"all": { "type": "boolean", "description": "Include concepts, rules, decisions, wiki (default: false)" }, |
|
4be3595…
|
lmata
|
12 |
"by_docstring": { "type": "boolean", "description": "Search docstring content instead of names" } |
|
4be3595…
|
lmata
|
13 |
}, |
|
4be3595…
|
lmata
|
14 |
"required": ["query"] |
|
4be3595…
|
lmata
|
15 |
} |
|
4be3595…
|
lmata
|
16 |
} |
|
4be3595…
|
lmata
|
17 |
}, |
|
4be3595…
|
lmata
|
18 |
{ |
|
4be3595…
|
lmata
|
19 |
"type": "function", |
|
4be3595…
|
lmata
|
20 |
"function": { |
|
4be3595…
|
lmata
|
21 |
"name": "nav_explain", |
|
4be3595…
|
lmata
|
22 |
"description": "Full picture for any named node — all inbound and outbound relationships across code and knowledge layers.", |
|
4be3595…
|
lmata
|
23 |
"parameters": { |
|
4be3595…
|
lmata
|
24 |
"type": "object", |
|
4be3595…
|
lmata
|
25 |
"properties": { |
|
4be3595…
|
lmata
|
26 |
"name": { "type": "string" }, |
|
4be3595…
|
lmata
|
27 |
"file_path": { "type": "string", "description": "Optional — narrow to a specific file" } |
|
4be3595…
|
lmata
|
28 |
}, |
|
4be3595…
|
lmata
|
29 |
"required": ["name"] |
|
4be3595…
|
lmata
|
30 |
} |
|
4be3595…
|
lmata
|
31 |
} |
|
4be3595…
|
lmata
|
32 |
}, |
|
4be3595…
|
lmata
|
33 |
{ |
|
4be3595…
|
lmata
|
34 |
"type": "function", |
|
4be3595…
|
lmata
|
35 |
"function": { |
|
4be3595…
|
lmata
|
36 |
"name": "nav_function", |
|
4be3595…
|
lmata
|
37 |
"description": "Load context for a function — callers, callees, and decorators.", |
|
4be3595…
|
lmata
|
38 |
"parameters": { |
|
4be3595…
|
lmata
|
39 |
"type": "object", |
|
4be3595…
|
lmata
|
40 |
"properties": { |
|
4be3595…
|
lmata
|
41 |
"name": { "type": "string" }, |
|
4be3595…
|
lmata
|
42 |
"file_path": { "type": "string" }, |
|
4be3595…
|
lmata
|
43 |
"depth": { "type": "integer", "default": 2 } |
|
4be3595…
|
lmata
|
44 |
}, |
|
4be3595…
|
lmata
|
45 |
"required": ["name"] |
|
4be3595…
|
lmata
|
46 |
} |
|
4be3595…
|
lmata
|
47 |
} |
|
4be3595…
|
lmata
|
48 |
}, |
|
4be3595…
|
lmata
|
49 |
{ |
|
4be3595…
|
lmata
|
50 |
"type": "function", |
|
4be3595…
|
lmata
|
51 |
"function": { |
|
4be3595…
|
lmata
|
52 |
"name": "nav_class", |
|
4be3595…
|
lmata
|
53 |
"description": "Load context for a class — methods, inheritance chain, and references.", |
|
4be3595…
|
lmata
|
54 |
"parameters": { |
|
4be3595…
|
lmata
|
55 |
"type": "object", |
|
4be3595…
|
lmata
|
56 |
"properties": { |
|
4be3595…
|
lmata
|
57 |
"name": { "type": "string" }, |
|
4be3595…
|
lmata
|
58 |
"file_path": { "type": "string" } |
|
4be3595…
|
lmata
|
59 |
}, |
|
4be3595…
|
lmata
|
60 |
"required": ["name"] |
|
4be3595…
|
lmata
|
61 |
} |
|
4be3595…
|
lmata
|
62 |
} |
|
4be3595…
|
lmata
|
63 |
}, |
|
4be3595…
|
lmata
|
64 |
{ |
|
4be3595…
|
lmata
|
65 |
"type": "function", |
|
4be3595…
|
lmata
|
66 |
"function": { |
|
4be3595…
|
lmata
|
67 |
"name": "nav_context", |
|
4be3595…
|
lmata
|
68 |
"description": "All symbols in a file — functions, classes, imports — with line numbers and docstrings.", |
|
4be3595…
|
lmata
|
69 |
"parameters": { |
|
4be3595…
|
lmata
|
70 |
"type": "object", |
|
4be3595…
|
lmata
|
71 |
"properties": { |
|
4be3595…
|
lmata
|
72 |
"file_path": { "type": "string" } |
|
4be3595…
|
lmata
|
73 |
}, |
|
4be3595…
|
lmata
|
74 |
"required": ["file_path"] |
|
4be3595…
|
lmata
|
75 |
} |
|
4be3595…
|
lmata
|
76 |
} |
|
4be3595…
|
lmata
|
77 |
}, |
|
4be3595…
|
lmata
|
78 |
{ |
|
4be3595…
|
lmata
|
79 |
"type": "function", |
|
4be3595…
|
lmata
|
80 |
"function": { |
|
4be3595…
|
lmata
|
81 |
"name": "nav_concept", |
|
4be3595…
|
lmata
|
82 |
"description": "Load a business concept — governing rules, related concepts, implementing code, and wiki references.", |
|
4be3595…
|
lmata
|
83 |
"parameters": { |
|
4be3595…
|
lmata
|
84 |
"type": "object", |
|
4be3595…
|
lmata
|
85 |
"properties": { |
|
4be3595…
|
lmata
|
86 |
"name": { "type": "string" } |
|
4be3595…
|
lmata
|
87 |
}, |
|
4be3595…
|
lmata
|
88 |
"required": ["name"] |
|
4be3595…
|
lmata
|
89 |
} |
|
4be3595…
|
lmata
|
90 |
} |
|
4be3595…
|
lmata
|
91 |
}, |
|
4be3595…
|
lmata
|
92 |
{ |
|
4be3595…
|
lmata
|
93 |
"type": "function", |
|
4be3595…
|
lmata
|
94 |
"function": { |
|
4be3595…
|
lmata
|
95 |
"name": "nav_domain", |
|
4be3595…
|
lmata
|
96 |
"description": "Show everything in a business domain — code and knowledge nodes.", |
|
4be3595…
|
lmata
|
97 |
"parameters": { |
|
4be3595…
|
lmata
|
98 |
"type": "object", |
|
4be3595…
|
lmata
|
99 |
"properties": { |
|
4be3595…
|
lmata
|
100 |
"name": { "type": "string" } |
|
4be3595…
|
lmata
|
101 |
}, |
|
4be3595…
|
lmata
|
102 |
"required": ["name"] |
|
4be3595…
|
lmata
|
103 |
} |
|
4be3595…
|
lmata
|
104 |
} |
|
4be3595…
|
lmata
|
105 |
}, |
|
4be3595…
|
lmata
|
106 |
{ |
|
4be3595…
|
lmata
|
107 |
"type": "function", |
|
4be3595…
|
lmata
|
108 |
"function": { |
|
4be3595…
|
lmata
|
109 |
"name": "nav_decorated", |
|
4be3595…
|
lmata
|
110 |
"description": "Find all functions/methods carrying a specific decorator (e.g. login_required, cached).", |
|
4be3595…
|
lmata
|
111 |
"parameters": { |
|
4be3595…
|
lmata
|
112 |
"type": "object", |
|
4be3595…
|
lmata
|
113 |
"properties": { |
|
4be3595…
|
lmata
|
114 |
"decorator": { "type": "string" } |
|
4be3595…
|
lmata
|
115 |
}, |
|
4be3595…
|
lmata
|
116 |
"required": ["decorator"] |
|
4be3595…
|
lmata
|
117 |
} |
|
4be3595…
|
lmata
|
118 |
} |
|
4be3595…
|
lmata
|
119 |
}, |
|
4be3595…
|
lmata
|
120 |
{ |
|
4be3595…
|
lmata
|
121 |
"type": "function", |
|
4be3595…
|
lmata
|
122 |
"function": { |
|
4be3595…
|
lmata
|
123 |
"name": "nav_query", |
|
4be3595…
|
lmata
|
124 |
"description": "Execute a raw Cypher query against the knowledge graph. Returns JSON.", |
|
4be3595…
|
lmata
|
125 |
"parameters": { |
|
4be3595…
|
lmata
|
126 |
"type": "object", |
|
4be3595…
|
lmata
|
127 |
"properties": { |
|
4be3595…
|
lmata
|
128 |
"cypher": { "type": "string" } |
|
4be3595…
|
lmata
|
129 |
}, |
|
4be3595…
|
lmata
|
130 |
"required": ["cypher"] |
|
4be3595…
|
lmata
|
131 |
} |
|
4be3595…
|
lmata
|
132 |
} |
|
4be3595…
|
lmata
|
133 |
}, |
|
4be3595…
|
lmata
|
134 |
{ |
|
4be3595…
|
lmata
|
135 |
"type": "function", |
|
4be3595…
|
lmata
|
136 |
"function": { |
|
4be3595…
|
lmata
|
137 |
"name": "nav_stats", |
|
4be3595…
|
lmata
|
138 |
"description": "Node and edge counts broken down by type — shows what's in the graph.", |
|
4be3595…
|
lmata
|
139 |
"parameters": { |
|
4be3595…
|
lmata
|
140 |
"type": "object", |
|
4be3595…
|
lmata
|
141 |
"properties": {} |
|
4be3595…
|
lmata
|
142 |
} |
|
4be3595…
|
lmata
|
143 |
} |
|
4be3595…
|
lmata
|
144 |
}, |
|
4be3595…
|
lmata
|
145 |
{ |
|
4be3595…
|
lmata
|
146 |
"type": "function", |
|
4be3595…
|
lmata
|
147 |
"function": { |
|
4be3595…
|
lmata
|
148 |
"name": "nav_ingest", |
|
4be3595…
|
lmata
|
149 |
"description": "Ingest a code repository into the knowledge graph (AST parsing + call graph).", |
|
4be3595…
|
lmata
|
150 |
"parameters": { |
|
4be3595…
|
lmata
|
151 |
"type": "object", |
|
4be3595…
|
lmata
|
152 |
"properties": { |
|
4be3595…
|
lmata
|
153 |
"path": { "type": "string", "description": "Absolute path to the repository root" } |
|
4be3595…
|
lmata
|
154 |
}, |
|
4be3595…
|
lmata
|
155 |
"required": ["path"] |
|
4be3595…
|
lmata
|
156 |
} |
|
4be3595…
|
lmata
|
157 |
} |
|
4be3595…
|
lmata
|
158 |
} |
|
4be3595…
|
lmata
|
159 |
] |