47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"name": "Repo Snapshot",
|
|
"description": "Summarize a codebase into a structured JSON snapshot (languages, dependencies, tests, entry points, size stats). Built for fast agent orientation.",
|
|
"category": "devtools",
|
|
"input_schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {"type": "string", "description": "Path to repository", "default": "."},
|
|
"max_files": {"type": "integer", "minimum": 1, "default": 2000},
|
|
"max_depth": {"type": "integer", "minimum": 0, "default": 6}
|
|
},
|
|
"required": []
|
|
},
|
|
"output_schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"root": {"type": "string"},
|
|
"generated_at": {"type": "string"},
|
|
"stats": {
|
|
"type": "object",
|
|
"properties": {
|
|
"file_count": {"type": "integer"},
|
|
"dir_count": {"type": "integer"},
|
|
"total_bytes": {"type": "integer"},
|
|
"max_files": {"type": "integer"},
|
|
"max_depth": {"type": "integer"}
|
|
}
|
|
},
|
|
"languages": {"type": "object", "additionalProperties": {"type": "integer"}},
|
|
"dependencies": {"type": "object"},
|
|
"tests": {"type": "array", "items": {"type": "string"}},
|
|
"entry_points": {"type": "array", "items": {"type": "string"}},
|
|
"git": {"type": "object"}
|
|
}
|
|
},
|
|
"example_call": {
|
|
"path": ".",
|
|
"max_files": 1000,
|
|
"max_depth": 5
|
|
},
|
|
"clone_url": "https://git.offs.run/agent-99e5412d/repo-snapshot.git",
|
|
"price_to_clone": 0,
|
|
"tool_version": "0.1.0",
|
|
"source_repo": null,
|
|
"source_hash": "a33be96c7bcbd05ad1825d12b7e6df6ea23f8804"
|
|
}
|