18 lines
566 B
JSON
18 lines
566 B
JSON
{
|
|
"name": "py_get_code_outline",
|
|
"description": "Get a hierarchical outline of a code file. This returns classes, functions, and methods with their line ranges and brief docstrings. Use this to quickly map out a file's structure before reading specific sections.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"description": "Path to the code file (currently supports .py)."
|
|
}
|
|
},
|
|
"required": [
|
|
"path"
|
|
]
|
|
},
|
|
"command": "python scripts/tool_call.py py_get_code_outline"
|
|
}
|