7 lines
1016 B
Plaintext
7 lines
1016 B
Plaintext
{
|
|
"description": "Render a Tree-sitter structural overview of a codebase, with pagination for large repositories.",
|
|
"prompt": "## codebase_overview\n\nParse supported source files and render declarations as Markdown. For large repositories, always pass a `limit` (start with 10-20 files) to keep the result manageable. The output reports `Next offset`; call the tool again with the same path and that offset to continue. Files are ordered deterministically.\n\n**Args**: `[path, offset, limit]`\n\n```\ncodebase_overview(path=\"<WORKSPACE_PATH>\", offset=0, limit=20)\n```",
|
|
"args": {"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"Absolute or relative workspace path"},"offset":{"type":"integer","minimum":0,"default":0,"description":"Zero-based file offset from the previous Next offset"},"limit":{"type":"integer","minimum":0,"default":20,"description":"Maximum files to include; use 10-20 for large repositories; 0 means all remaining files"}}},
|
|
"scope":"read"
|
|
}
|