Cloud MCPcode
code
7 MCP tools on the Hanzo cloud door that call the code API.
The 7 tools tools/list names for code. Each dispatches to an operation in the code API reference.
| Tool | Route | Arguments | Description |
|---|---|---|---|
get_v1_code_ask | GET /v1/code/ask | 2 | Answers a question about the caller org's code with a CITED answer: retrieval packs grounding contex |
get_v1_code_file | GET /v1/code/file | 2 | Returns the INDEXED content of one file — read_file over the chunks the search tiers hold, for pulli |
get_v1_code_search | GET /v1/code/search | 4 | Finds code in the caller org's index across three orthogonal retrieval tiers fused by reciprocal-ran |
get_v1_code_tree | GET /v1/code/tree | 1 | Returns one repository's file structure with a per-file symbol count — get_repo_structure over the o |
post_v1_code_ask | POST /v1/code/ask | 2 | Is askGet with the question in the request BODY, for a question too long or too awkward to put in a |
post_v1_code_context | POST /v1/code/context | 3 | Packs the most relevant code for a query into a token budget — THE primitive for a coding agent that |
post_v1_code_index | POST /v1/code/index | 3 | (re)indexes a repository for the caller's org, incrementally: files whose content hash is unchanged |
Generated from tools/list on https://api.hanzo.ai/v1/mcp — 834 tools captured 2026-08-01 (this build read the vendored copy; the door was unreachable).
How is this guide?