git
git: 56 operations.
git: 56 operations. Name one in "op" and pass that operation's own arguments in "input". describe returns an operation's input schema.
Arguments
| Field | Type | Required | Default | Values | Description |
|---|---|---|---|---|---|
input | object | — | — | — | arguments for the chosen op |
op | string | yes | — | — | delete_git_repo — Removes a repo's metadata and purges its storage. delete_git_repo_mirror — Removes one outbound mirror target; later pushes stop being forwarded to it. delete_git_repo_subscription — Removes one Slack subscription from a repo; the notifier stops posting that repo's events to that channel. get_git — The repository list for the signed-in caller's org — each repo with its description, default branch, size and last… get_git_by_org_by_project_by_repo_info_refs — The ref-advertisement phase of git's smart-HTTP protocol — the first request a clone, a fetch and a push all make. get_git_by_org_by_repo — A repository at a glance: its branches, the tree at the tip, its most recent commits, its README rendered, and the… get_git_blob — One file's contents at one revision, with its size and line count. list_git_commits — The hundred most recent commits on one ref, each with its author, message and date. get_git_by_org_by_repo_info_refs — The ref-advertisement phase of git's smart-HTTP protocol — the first request a clone, a fetch and a push all make. get_git_tree — The contents of one directory at one revision, with breadcrumbs back up and links onward into subdirectories and files. get_git_explore — The open, unauthenticated face of the git host: every PUBLIC repository in the fleet, org-qualified, so a project can… list_git_keys — Returns the SSH public keys registered to the caller's org — the keys that authenticate git clone… list_git_repos — Returns the repos in the caller's scope, most recently updated first. get_git_repo — Returns one repo with its live ref state: every branch name and the resolved HEAD commit. get_git_repo_blob — Returns one file's bytes at one revision. list_git_repo_commits — Walks a ref's history newest first, or one path's history when a path is given. list_git_repo_files — Returns every file a glob selects at one revision, WITH its bytes and the revision they came from. list_git_repo_mirrors — Returns a repo's outbound mirror targets — the downstream remotes the mirror reactor pushes to whenever a push lands… list_git_repo_pulls — Returns a repo's pull requests, newest number first — what is waiting to be reviewed, and what has already landed. get_git_repo_pull — Returns one pull request by its per-repo number. get_git_repo_readme — Returns the README at the tree root as plain text — unrendered, so the caller decides how to present it. list_git_repo_refs — Lists a repo's branches, tags and default branch — what a branch picker needs in one call. list_git_repo_subscriptions — Returns a repo's Slack subscriptions — which channels the lifecycle notifier posts this repo's push and deploy events… get_git_repo_tree — Lists the immediate children of one directory at one revision, directories before files. get_git_usage — Returns per-repo and total storage bytes for the caller's org — the queryable, per-tenant number commerce and o11y… update_git_repo — Flips a repo's public bit, the one mutable repo setting today. post_git_by_org_by_project_by_repo_git-receive-pack — The pack-transfer phase of a push, and the point at which a push becomes an EVENT. post_git_by_org_by_project_by_repo_git-upload-pack — The pack-transfer phase of a clone or fetch: the request and the response are git's binary pack protocol, streamed… post_git_by_org_by_repo_git-receive-pack — The pack-transfer phase of a push, and the point at which a push becomes an EVENT. post_git_by_org_by_repo_git-upload-pack — The pack-transfer phase of a clone or fetch: the request and the response are git's binary pack protocol, streamed… create_git_repo — Provisions an empty bare repository in the caller's scope and returns it with its clone URLs. gc_git_repo — Repacks a repo into one bitmapped pack and rewrites its commit-graph, so the next clone reuses the bitmap instead of… mirror_git_repo — Imports an external git repository into the caller's repo, provisioning it on first use. create_git_repo_mirror — Registers a downstream remote the repo's advanced refs are pushed to whenever a push lands here. create_git_repo_pull — Proposes a branch for merging and returns it with its number. merge_git_repo_pull — Merges an open pull request by FAST-FORWARDING base to head, and answers the proposal in its merged state with the… push_git_repo — Lands a set of files as one commit without a git client — the hanzo.app builder's push. create_git_repo_subscription — Binds a Slack channel to a repo, so the lifecycle notifier posts that repo's push and deploy events there. post_git_webhook — GONE (410). create_git_zap_createrepo — Creates a repository in the caller's org and project scope and answers with its record. create_git_zap_deleterepo — Deletes the repository named by nameand answers with the deleted name. create_git_zap_getrepo — Answers a single repository's record, named byname`. create_git_zap_listrepo — Answers every repository in the caller's org and project scope. create_git_zap_usage — Answers every repository in the caller's org with its size in bytes, plus the org's total — what git storage is… |
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 the door'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 the door does not constrain the field.
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": "git",
"arguments": {
"op": "get_git"
}
}
}'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 the door 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
git dispatches to 56 operations. 20 of them the door names exactly as the document ids them, and those are below; for the rest the door has its own verb, which describe resolves.
| Operation | Route | Product | Summary |
|---|---|---|---|
get_git | GET /git | Browse your org's repositories | |
get_git_by_org_by_project_by_repo_info_refs | GET /v1/git/{org}/{project}/{repo}/info/refs | git | Advertise a repository's refs to a git client |
get_git_by_org_by_repo | GET /git/{org}/{repo} | Open a repository's home page | |
get_git_by_org_by_repo_info_refs | GET /v1/git/{org}/{repo}/info/refs | git | Advertise a repository's refs to a git client |
get_git_explore | GET /git/explore | Discover public repositories across every org | |
get_git_usage | GET /v1/git/usage | git | Returns per-repo and total storage bytes for the caller's org — the queryable, per-tenant… |
post_git_by_org_by_project_by_repo_git-receive-pack | POST /v1/git/{org}/{project}/{repo}/git-receive-pack | git | Accept a push, and turn it into a build |
post_git_by_org_by_project_by_repo_git-upload-pack | POST /v1/git/{org}/{project}/{repo}/git-upload-pack | git | Serve a clone or fetch |
post_git_by_org_by_repo_git-receive-pack | POST /v1/git/{org}/{repo}/git-receive-pack | git | Accept a push, and turn it into a build |
post_git_by_org_by_repo_git-upload-pack | POST /v1/git/{org}/{repo}/git-upload-pack | git | Serve a clone or fetch |
post_git_webhook | POST /v1/git/webhook | git | Retired — forge pushes build via platform.hanzo.ai |
get | GET / | Browse your org's repositories | |
get_by_org_by_project_by_repo_info_refs | GET /{org}/{project}/{repo}/info/refs | Advertise a repository's refs to a git client | |
get_by_org_by_repo | GET /{org}/{repo} | Open a repository's home page | |
get_by_org_by_repo_info_refs | GET /{org}/{repo}/info/refs | Advertise a repository's refs to a git client | |
get_explore | GET /explore | Discover public repositories across every org | |
post_by_org_by_project_by_repo_git-receive-pack | POST /{org}/{project}/{repo}/git-receive-pack | Accept a push, and turn it into a build | |
post_by_org_by_project_by_repo_git-upload-pack | POST /{org}/{project}/{repo}/git-upload-pack | Serve a clone or fetch | |
post_by_org_by_repo_git-receive-pack | POST /{org}/{repo}/git-receive-pack | Accept a push, and turn it into a build | |
post_by_org_by_repo_git-upload-pack | POST /{org}/{repo}/git-upload-pack | Serve a clone or fetch |
The same capability over plain HTTP is in the API reference, on https://api.hanzo.ai.
All 119 tools · The door · API reference
Generated from tools/list on https://api.hanzo.ai/v1/mcp — 121 tools captured 2026-08-16, of which 119 are documented here (the operator surface is not published).
How is this guide?