Environment
environment: 4 operations.
Also for this capability: API ยท MCP ยท SDKs
environment: 4 operations. Name one in "op" and pass that operation's own arguments in "input". describe returns an operation's input schema.
| Tool | environment |
| Address | https://api.hanzo.ai/v1/mcp |
| Method | tools/call (JSON-RPC 2.0) |
| Arguments | 2, 1 required |
| Operation | GET /v1/environment/{repo} |
| Product | environment |
Arguments
| Field | Type | Required | Default | Values | Description |
|---|---|---|---|---|---|
input | object | โ | โ | โ | arguments for the chosen op |
op | string | yes | โ | โ | โ |
tools/list declares a type, a description, which fields are required and an enumerated value set for each field and nothing further, and every column above is MCP's own. This tool takes an operation name and that operation's arguments, so what the document constrains is what goes inside input, field by field, on the operation you name โ ask describe for that. A โ means MCP does not constrain the field.
GET /v1/environment/{repo} requires repo, which tools/list does not declare on this tool. Where that value goes in a tools/call is not something MCP publishes, so this page does not guess โ the same capability over plain HTTP is fully specified in the API reference below.
Call it
A tools/call carries every argument in one flat object โ nothing binds to a path or a query string. This call carries exactly the arguments the operation requires, so it is the smallest one that can run.
curl -X POST https://api.hanzo.ai/v1/mcp \
-H "Authorization: Bearer $HANZO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "environment",
"arguments": {
"op": "list_environments"
}
}
}'Values are the operation's own defaults and enumerated values where it declares them, and a <placeholder> where neither source declares one. tools/list needs no credential; tools/call does โ called without one MCP answers HTTP 200 with a JSON-RPC result whose isError is set and whose text says what was missing. How to get a key โ
The operation behind it
environment dispatches to 4 operations. 1 of them MCP names exactly as the document ids it, and that one is below; for the rest MCP has its own verb, which describe resolves.
| Operation | Route | Product | Summary |
|---|---|---|---|
get_environment_by_repo | GET /v1/environment/{repo} | environment | Reads one codebase's environment. |
The same capability over plain HTTP is in the environment API reference, on https://api.hanzo.ai.
All 120 tools ยท MCP ยท API reference
Generated from tools/list on https://api.hanzo.ai/v1/mcp โ 120 tools captured 2026-09-30.