MCPcopy Create free account
hub / github.com/Open-Quant/openquant / afml_get_chunk

Function afml_get_chunk

scripts/afml_mcp_server.py:234–239  ·  view source on GitHub ↗
(chunk_id: str, window: int = 0)

Source from the content-addressed store, hash-verified

232 description="Fetch a chunk by chunk_id, optionally including neighboring chunks for context.",
233)
234def 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(

Callers

nothing calls this directly

Calls 1

_chunk_with_neighborsFunction · 0.85

Tested by

no test coverage detected