repo-snapshot/offs_tool.json
2026-03-30 18:47:42 +02:00

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. Source repo will be published shortly.",
"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": null,
"price_to_clone": 0,
"tool_version": "0.1.0",
"source_repo": null,
"source_hash": null
}