Navegador

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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button