(chunk_id: str, window: int = 0)
| 232 | description="Fetch a chunk by chunk_id, optionally including neighboring chunks for context.", |
| 233 | ) |
| 234 | def afml_get_chunk(chunk_id: str, window: int = 0) -> dict[str, Any]: |
| 235 | if window < 0: |
| 236 | window = 0 |
| 237 | if window > 5: |
| 238 | window = 5 |
| 239 | return _chunk_with_neighbors(chunk_id=chunk_id, window=window) |
| 240 | |
| 241 | |
| 242 | @mcp.tool( |
nothing calls this directly
no test coverage detected