()
| 168 | |
| 169 | @mcp.tool(name="afml_index_info", description="Return index metadata, chapters, and model details.") |
| 170 | def afml_index_info() -> dict[str, Any]: |
| 171 | store = _load_store() |
| 172 | return { |
| 173 | "index_dir": str(store.index_dir), |
| 174 | "manifest": store.manifest, |
| 175 | "chunk_count": len(store.chunks), |
| 176 | } |
| 177 | |
| 178 | |
| 179 | @mcp.tool(name="afml_list_chapters", description="List discovered chapters with chunk counts.") |
nothing calls this directly
no test coverage detected