About MCP
MCP is an MCP server published by hanzoai in the AI category: model Context Protocol server with 260+ tools for AI agents. Conduid read 130 tools from its source: aci_compact_output, aci_edit, aci_viewer, agent, ast, bash and 124 more. No package is published for it, so it installs from a source checkout.
The repository has 23 stars and 29 forks, is licensed MIT, and its last commit was on 29 Nov 2026. The latest release is rust-v1.1.33 (15 Oct 2026). It follows rust-v1.1.32 (15 Oct 2026), and the 5 most recent releases go back to rust-v1.1.29 (4 Oct 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include ai-infrastructure.
Install
git clone https://github.com/hanzoai/mcpTools (130)
aci_compact_outputCompress noisy command/build/test output with ANSI stripping, duplicate stack-frame collapsing, head/tail preservation, and structured footer| Parameter | Type | Description |
|---|---|---|
| elapsed_ms | number | Elapsed runtime in milliseconds (default 0) |
| exit_code | number | Process exit code (default 0) |
| head_lines | number | Leading lines to preserve (default 15) |
| max_bytes | number | Maximum output body bytes (default 4096) |
| max_lines | number | Maximum output body lines (default 60) |
| raw_output * | string | Raw stdout/stderr command output |
| tail_lines | number | Trailing lines to preserve (default 20) |
aci_editGuarded atomic search-replace file editor with uniqueness check, base_hash precondition, and pre-flight syntax lint gate| Parameter | Type | Description |
|---|---|---|
| base_hash | string | Optional sha256:<hex> precondition |
| context_lines | number | Localized +/- context lines returned in snippet (default 4) |
| expected_start_line | number | Optional 1-based line anchor to disambiguate duplicate blocks |
| path * | string | Target file path |
| replace_block * | string | Replacement block |
| search_block * | string | Exact unique block to replace |
| session_id | string | Isolated agent session identifier |
| tenant_id | string | Optional multi-tenant scope identifier |
aci_viewerStateful SWE-agent line-numbered file viewer (100-line viewport): open, scroll_down, scroll_up, goto_line, search_file, state| Parameter | Type | Description |
|---|---|---|
| action * | string | Viewport navigation or search command |
| auto_jump | boolean | Jump viewport to first search_file match |
| case_insensitive | boolean | Case-insensitive search_file flag |
| line | number | 1-based start or target line number |
| path | string | File path for open or search_file |
| query | string | Search pattern for search_file |
| session_id | string | Isolated agent session identifier |
| step | number | Scroll step in lines |
| tenant_id | string | Optional multi-tenant scope identifier |
| window_size | number | Viewport height in lines (default 100) |
agentSilent alias -> think(action="agent")| Parameter | Type | Description |
|---|---|---|
| task | string |
astCode intelligence: search patterns, find symbols, analyze dependencies, outline file structure, metrics, list exports/types/calls, class hierarchy| Parameter | Type | Description |
|---|---|---|
| action * | string | AST action |
| depth | number | Hierarchy depth |
| exact | boolean | |
| file | string | Specific file (outline, metrics) |
| filePattern | string | File glob filter (e.g., "**/*.ts") |
| maxResults | number | |
| path | string | |
| pattern | string | AST pattern (function_declaration, class_definition, etc.) or regex |
| showExternal | boolean | |
| showInternal | boolean | |
| symbol | string | Symbol name to find |
| type | string |
bashExecute a bash command| Parameter | Type | Description |
|---|---|---|
| command * | string | The bash command to execute |
| cwd | string | Working directory for the command |
| env | object | Environment variables |
| timeout | number | Timeout in milliseconds |
bgRun a command in the background| Parameter | Type | Description |
|---|---|---|
| command * | string | The command to run in background |
| cwd | string | Working directory |
| id * | string | Unique ID for this background process |
browserDrive a browser: the user's own, signed in, through the Hanzo extension (or native headless CDP + WebMCP when none is connected). Loop: snapshot, act on a ref, snapshot again when the page changes. snapshot interactive=true - button "Sign in" [ref=e2] click selector="@e2" fill selector="@e3" text="me@x.com" press key="Enter" read the page as markdown (outline=true, filter="…") screenshot annotate=true every ref boxed, label [N] = @eN selector takes a ref (@e2) or a CSS selector (including >>> for shadow roots). A stale ref, or a click on an element under a banner or modal, is refused with what to do next. Supports WebMCP (webmcp_list, webmcp_call) and LastPass vault automation (lastpass_status, lastpass_accounts, lastpass_open_icon, lastpass_fill). action="help" lists everything else; their parameters go in args.| Parameter | Type | Description |
|---|---|---|
| action * | string | ${CORE.join(', ')}; help lists the rest |
| annotate | boolean | screenshot: box every ref, label [N] = @eN |
| args | object | Parameters of non-core actions (webmcp_*, lastpass_*, etc.), as help names them |
| code | string | evaluate: JavaScript |
| compact | boolean | snapshot: drop empty structure |
| depth | integer | snapshot: tree depth limit |
| filter | string | read: only sections that mention this |
| interactive | boolean | snapshot: interactive elements only, flat |
| key | string | press: Enter, Tab, Escape, ArrowDown, Control+a |
| method | string | cdp: raw Chrome DevTools Protocol method name |
| outline | boolean | read: headings only |
| params | object | cdp: raw CDP method parameters |
| selector | string | Element: a snapshot ref (@e2) or a CSS selector (including >>>) |
| tab_id | string | Tab from tabs; default the active tab |
| target_browser | string | chrome | firefox, when several are connected |
| text | string | fill/type: the text; wait: text to appear |
| timeout | integer | wait: milliseconds |
| topic | string | help: one topic |
| url | string | navigate / lastpass_*: the URL |
browser_readRead-only browser inspection through the Hanzo Browser Extension over native ZAP. Enumerates tabs, inspects page markdown/accessibility snapshots/DOM, captures screenshots, and checks connection status without modifying browser state, navigating, clicking, typing, or executing arbitrary page scripts. Safe to auto-approve in read-only clients. Actions: tabs (default), browsers, status, url, title, read, inspected, snapshot, get_text, get_attribute, get_html, count, screenshot, webmcp_list, help.| Parameter | Type | Description |
|---|---|---|
| action | string | Read-only action (default: tabs) |
| annotate | boolean | screenshot: box every ref, label [N] = @eN |
| args | object | Optional read-only parameters |
| compact | boolean | snapshot: drop empty structure |
| depth | integer | snapshot: tree depth limit |
| filter | string | read: only sections that mention this |
| interactive | boolean | snapshot: interactive elements only, flat |
| outline | boolean | read: headings only |
| selector | string | Optional snapshot ref (@e2) or CSS selector |
| tab_id | string | Tab from tabs; default the active tab |
| target_browser | string | chrome | firefox, when several are connected |
cdpRaw Chrome DevTools Protocol dispatch — peer of `browser`. ACTIONS: - send : send a CDP method (method=, params=, tab_id=, target_browser=) - tabs : Target.getTargets — list connected tabs - status : Browser.getVersion — connection + version - list_browsers : list extension providers (firefox/chrome/safari/edge) connected Page.captureScreenshot answers with a downscaled JPEG (~1280px, q70) by default to save context; the capture is saved to a file whose path is returned. Pass params={"format":"png","maxWidth":0} for pixel detail. EXAMPLES: - cdp(action="send", method="Page.navigate", params={"url": "https://example.com"}) - cdp(action="send", method="Runtime.evaluate", params={"expression": "document.title"}) - cdp(action="tabs") - cdp(action="status") Use `browser` for high-level verbs (navigate, click, screenshot).| Parameter | Type | Description |
|---|---|---|
| action | string | CDP action: send | tabs | status | list_browsers |
| client_id | string | Specific extension client id |
| method | string | CDP method name (e.g. 'Page.navigate', 'Runtime.evaluate') |
| params | object | CDP method params |
| tab_id | any | Target tab id (string or int) |
| target_browser | string | Provider filter: firefox|chrome|safari|edge |
| timeout | number | Per-call timeout (seconds) |
code_askDense vector code search, symbol index lookup, context graph resolution.| Parameter | Type | Description |
|---|---|---|
| q * | string | Question about the codebase |
| repo | string | Restrict to a repo label (optional) |
code_contextDense vector code search, symbol index lookup, context graph resolution.| Parameter | Type | Description |
|---|---|---|
| budgetTokens | number | Token budget for the bundle (default 4000, 256–32000) |
| query * | string | What you need context for |
| repo | string | Restrict to a repo label (optional) |
code_indexDense vector code search, symbol index lookup, context graph resolution.| Parameter | Type | Description |
|---|---|---|
| files * | array | Files to index: [{path, content}] |
| prune | boolean | Remove indexed files not present in this payload (full-tree reconcile) |
| repo * | string | Repo label to index the files under |
code_searchDense vector code search, symbol index lookup, context graph resolution.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default 20, max 100) |
| q * | string | Search query — natural language or a code fragment |
| repo | string | Restrict to a repo label (optional) |
| type | string | Retrieval strategy (default hybrid) |
codingAutonomous coding runs on Hanzo Cloud (/v1/agent/coding): start {repo, prompt} returns {session, branch}; poll progress {session}; inspect changes, artifacts, tree, blob; steer, pull, merge, extend, or stop.| Parameter | Type | Description |
|---|---|---|
| action * | string | Coding run action: start | progress | changes | artifacts | tree | blob | steer | pull | merge | extend | stop |
| after | string | Continue an earlier coding session on the same branch (start) |
| base | string | Base branch (start, pull) |
| body | string | Pull request description (pull) |
| branch | string | Branch name agent/<name> (start) |
| draft | boolean | Open pull request as draft (pull) |
| effort | string | Reasoning effort level (start) |
| issue | any | Issue reference (#464 or owner/name#464) |
| mode | string | build (default) edits and pushes; plan reads and returns a plan |
| model | string | Model override for coding run (start) |
| path | string | Directory or file path in the run repository (tree, blob) |
| project | string | Project key |
| prompt | string | Task instructions for the autonomous coding run (start; alias: task) |
| pull | boolean | Open pull request automatically when start completes |
| repo | string | Repository slug (start) |
| seconds | number | Additional runtime seconds (extend) |
| session | string | Session ID returned by start (aliases: id, sessionId) |
| text | string | Steering instructions or stop reason (steer, stop; alias: message) |
| timeoutSeconds | number | Maximum run duration in seconds (start) |
| title | string | Pull request title (pull) |
computerNative OS desktop GUI control & GIMP automation: screenshot, click, move, type, key/press, hotkey, scroll, window/list_windows/focus_window, info, and gimp.| Parameter | Type | Description |
|---|---|---|
| action * | string | Desktop GUI or GIMP action |
| amount | number | Scroll delta (scroll) |
| args | array | GIMP PDB positional args (action=gimp) |
| gimp_action | string | GIMP sub-action when action="gimp" |
| height | number | Image height (action=gimp new_image) |
| image_id | number | GIMP image id (action=gimp) |
| key | string | Key name to press (key, press) |
| keys | array | Hotkey combination (hotkey) |
| path | string | Output file path (screenshot) or image path (gimp) |
| procedure | string | GIMP PDB procedure (action=gimp) |
| text | string | Text to type (type) |
| title | string | Window title substring (focus_window) |
| width | number | Image width (action=gimp new_image) |
| x | number | Screen X coordinate (click, move, scroll) |
| y | number | Screen Y coordinate (click, move, scroll) |
configSilent alias -> workspace(action="config")| Parameter | Type | Description |
|---|---|---|
| action | string | |
| key | string |
connectorsUnified connectors across all 16 compatible business apps (Gmail, Google Calendar, Google Drive, Salesforce, Microsoft Teams, GitHub, Google Forms, WooCommerce, Intercom, Facebook Lead Ads, DocuSign, Google Ads, Klaviyo, LinkedIn, QuickBooks, Google Analytics), LastPass, Hanzo Post (`post.hanzo.ai/mcp`), and 15 social/publishing networks.
3-Tier Execution:
1. Native REST API or `post.hanzo.ai/mcp` using in-memory Hanzo KMS credentials
2. Automatic fallback to the signed-in Agentic Browser over ZAP (`hanzo.read` / `hanzo.snapshot`)
3. KMS Browser Auto-Login (`vault.browser_login`) & interactive OAuth/token setup (`configure`)
Actions: list | request | view | act | configure| Parameter | Type | Description |
|---|---|---|
| action * | string | Connector operation: list | request | view | act | configure |
| apiVariant | string | request: secondary API base selector (e.g. "admin" for Google Analytics Admin API, "rest" for Hanzo Post REST) |
| autoLogin | boolean | view: automatically sign in from KMS if browser session is unauthenticated (default: true) |
| body | any | request: JSON or text request body |
| browserFallback | boolean | request: fall back to reading the signed-in Agentic Browser tab via ZAP when API token is missing or 401/403 (default: true) |
| category | string | list: optional category filter (vault, productivity, crm, developer, commerce, marketing, finance, analytics, social, publishing) |
| clientId | string | Explicit ZAP browser node ID |
| code | string | act (evaluate): JavaScript expression (used only when op="evaluate") |
| compatibleOnly | boolean | list: when true, list only the 16 compatible business apps |
| connector | string | Connector ID (${Object.keys(CONNECTORS).join(', ')}) |
| env | string | Hanzo KMS environment (default: prod) |
| fallbackUrl | string | request / view: explicit web URL to open on browser fallback |
| filter | string | view: filter page markdown to sections matching this string |
| headers | object | request: extra non-secret HTTP headers |
| instance | string | Salesforce / Mastodon instance subdomain or hostname |
| key | string | act (press): key name such as Enter, Tab, Escape |
| mcpArgs | object | request: arguments for mcpTool on https://post.hanzo.ai/mcp |
| mcpServerUrl | string | configure: remote MCP server URL to register on https://api.hanzo.ai/v1/tool/mcp/servers |
| mcpTool | string | request: MCP tool name to invoke via https://post.hanzo.ai/mcp (or "tools/list") |
| method | string | request: HTTP method (GET, POST, PUT, PATCH, DELETE; default GET) |
| op | string | act: browser interaction verb over ZAP |
| openBrowser | boolean | configure: open setup/OAuth page in the Agentic Browser via ZAP when no token is passed (default: true) |
| outline | boolean | view: return headings outline only |
| password | string | configure: login password to seal into Hanzo KMS |
| path | string | request: API path appended to the connector apiBase (e.g. "/messages", "/profiles") |
| query | object | request: URL query parameters |
| realmId | string | QuickBooks Online company realmId |
| registerMcpServer | boolean | configure: register connector MCP bridge on https://api.hanzo.ai/v1/tool/mcp/servers |
| secret | string | configure: API secret / consumer secret / provisioning hash to seal into Hanzo KMS |
| selector | string | act: snapshot ref (@eN) or CSS selector |
| site_url | string | WooCommerce WordPress site base URL |
| tabId | any | Explicit browser tab ID |
| targetBrowser | string | ZAP browser filter (chrome | firefox) |
| text | string | act (fill): text to enter into selector |
| token | string | configure: OAuth bearer token or API key to seal into Hanzo KMS |
| totp_secret | string | configure: TOTP Base32 secret or otpauth:// URI to seal into Hanzo KMS |
| url | string | view: specific URL within the connector web app to open |
| username | string | configure: login username/email or consumer key to seal into Hanzo KMS |
| viaHanzoPost | boolean | configure: open https://post.hanzo.ai/launches OAuth channel wizard in Chrome |
consensusAchieve consensus among multiple agents using various voting mechanisms| Parameter | Type | Description |
|---|---|---|
| agents * | array | Agent IDs to participate |
| mechanism | string | Consensus mechanism |
| question * | string | Question or decision to reach consensus on |
| rounds | number | Number of voting rounds |
createCreate a new file with content| Parameter | Type | Description |
|---|---|---|
| content * | string | The content for the new file |
| overwrite | boolean | Whether to overwrite if file exists |
| path * | string | The path for the new file |
critic_agentSpawn a critic agent to review code, suggest improvements, and enforce quality standards| Parameter | Type | Description |
|---|---|---|
| code | string | Code to review |
| criteria | array | Review criteria (e.g., security, performance, style) |
| files | array | Files to review |
| severity | string | Minimum severity to report |
crmHanzo Cloud CRM (/v1/crm) with graceful Base fallback (/v1/base/collections/{object}/records): objects, search, list, get, create, update, delete, merge, move_stage, log_activity, analytics, ai_assist, send_email. Valid objects: people, companies, opportunities (alias: deals), tasks, notes, activities, lists, list_members, candidates, views, segments, attachments, applications.| Parameter | Type | Description |
|---|---|---|
| action * | string | CRM action: objects | search | list | get | create | update | delete | merge | move_stage | log_activity | analytics | ai_assist | send_email |
| at | string | Optional RFC3339 activity timestamp (log_activity) |
| body | string | Activity or email body (log_activity, send_email) |
| candidate | string | Alias for candidate_id (log_activity) |
| candidate_id | string | Linked candidate record ID (log_activity) |
| channel | string | Activity channel, e.g. email | phone | slack | linkedin (log_activity) |
| company | string | Alias for company_id (log_activity) |
| company_id | string | Linked company record ID (log_activity) |
| data | object | Record fields payload (create, update) or activity metadata (log_activity) |
| direction | string | Activity direction: in | out (aliases: inbound | outbound) (log_activity) |
| expand | string | Comma-separated relation fields to expand (list, get) |
| fields | object | Winning field overrides for merge |
| filter | string | Filter expression (list, analytics) |
| from | string | Optional analytics start date (analytics) |
| id | string | Record ID (get, update, delete, move_stage, ai_assist) |
| in_reply_to | string | Optional Message-ID header <id@host> being replied to (send_email) |
| include | string | Comma-separated related summaries to attach: timeline, notes, tasks, attachments, or all (get) |
| key | string | Optional unique field key for idempotent upsert (create) |
| kind | string | Activity kind, e.g. call, email, meeting, note, task (log_activity) |
| limit | number | Maximum results (search) |
| mode | string | AI assist mode: ask | enrich | draft_email | summarize (ai_assist) |
| model | string | Optional inference model override (ai_assist) |
| next_step | string | Optional updated next_step for the opportunity (move_stage) |
| note | string | Optional stage-change note (move_stage) |
| object | string | CRM object collection (`deals` normalizes to `opportunities`) |
| objects | any | Optional comma-separated string or array of CRM objects to scope search |
| opportunity | string | Alias for opportunity_id (log_activity) |
| opportunity_id | string | Linked opportunity/deal record ID (log_activity) |
| org | string | Optional organization slug sent as X-Org-Id header (overrides HANZO_ORG) |
| page | number | 1-based page number (list) |
| per_page | number | Records per page (list) |
| period | string | Optional analytics window, e.g. 7d, 30d, 90d (analytics) |
| person | string | Linked person record ID (send_email; alias for person_id in log_activity) |
| person_id | string | Linked person record ID (log_activity) |
| pipeline | string | Optional pipeline filter: sales | fundraising (analytics) |
| prompt | string | Instruction or question for AI assist (ai_assist; required for mode=ask) |
| q | string | Search query (search) |
| record | object | Alias for data (create, update) |
| record_id | string | Alias for id (ai_assist, get, update, delete) |
| references | string | Optional space-separated Message-ID thread references (send_email) |
| search | string | Full-text search term within collection (list) |
| snippet | string | Short activity summary (log_activity) |
| sort | string | Sort expression, e.g. -created (list) |
| source_id | string | Source record ID to merge from (merge) or idempotency key (log_activity) |
| stage | string | Target deal pipeline stage (move_stage) |
| subject | string | Activity or email subject (log_activity, send_email) |
| target_id | string | Target record ID to merge into (merge) |
| to | string | Recipient email address (send_email) |
deleteDelete a file or empty directory| Parameter | Type | Description |
|---|---|---|
| path * | string | The path to delete |
| recursive | boolean | Delete directories recursively |
describeDescribes one operation: what it does and what it takes. Pass the subsystem tool name and the operation name.| Parameter | Type | Description |
|---|---|---|
| op * | string | The operation to describe. |
| subsystem * | string | The subsystem the operation belongs to. |
editReplace text in a file| Parameter | Type | Description |
|---|---|---|
| newText * | string | The new text to insert |
| oldText * | string | The exact text to replace |
| path * | string | The file path to edit |
execFile read/write, shell execution, AST code edits, git operations, HTTP calls, UI components.explain_change_impactPredict what a change to symbols or files could break before running it by fusing static call/implementation edges, runtime traces, recent failures, and Git co-change history.| Parameter | Type | Description |
|---|---|---|
| callerRoles | array | |
| files | array | Modified file paths |
| maxDepth | number | Max impact propagation hops (default 3) |
| repoId | string | |
| symbols | array | Modified symbols |
| tenantId | string |
fetchFile read/write, shell execution, AST code edits, git operations, HTTP calls, UI components.findFind files by name pattern| Parameter | Type | Description |
|---|---|---|
| maxDepth | number | Maximum directory depth to search |
| path | string | The directory to search in |
| pattern * | string | The file name pattern to search for (glob supported) |
| type | string | Filter by type: "file" or "directory" |
find_callersFind direct and transitive callers of a symbol or method with receiver-type disambiguation and runtime trace invocation counts.| Parameter | Type | Description |
|---|---|---|
| callerRoles | array | |
| filePath | string | Optional defining file path |
| includeTests | boolean | Include test callers (default true) |
| maxDepth | number | Max transitive hop depth (default 3) |
| ownerType | string | Optional enclosing class/struct/interface/trait |
| repoId | string | |
| symbol * | string | Symbol or OwnerType.method name |
| tenantId | string |
find_implementationsFind concrete implementations of an interface, Go structural interface, Rust trait, Python base class, or polymorphic method.| Parameter | Type | Description |
|---|---|---|
| callerRoles | array | |
| interfaceOrSymbol * | string | Interface/trait/base name or Interface.method |
| methodName | string | Optional specific method name |
| repoId | string | |
| tenantId | string |
find_regression_originLocalize the root-cause commit, file, and symbol of a regression by combining failure stack slicing, runtime trace errors, and Git commit hunk blame.| Parameter | Type | Description |
|---|---|---|
| callerRoles | array | |
| failingTestFile | string | Failing test path |
| failureId | string | Indexed failure event ID |
| maxCandidates | number | Max ranked suspects (default 5) |
| repoId | string | |
| stackFrames | array | Inline stack frames [{filePath, symbolName, line}] |
| tenantId | string |
find_related_testsRank related unit and integration test suites using static reachability, runtime trace spans, failure stacks, and Git co-change coupling.| Parameter | Type | Description |
|---|---|---|
| callerRoles | array | |
| files | array | |
| maxTests | number | Max tests to return (default 10) |
| repoId | string | |
| symbols | array | |
| tenantId | string |
fsFile read/write, shell execution, AST code edits, git operations, HTTP calls, UI components.gimpCoT scratchpads, semantic memory, Hanzo Cloud resource dispatch, task coordination, canvas.| Parameter | Type | Description |
|---|---|---|
| action * | string | GIMP action |
| args | array | Positional PDB args (pdb_call); integer ids accepted for GIMP objects |
| height | number | Image height (new_image) |
| host | string | GIMP bridge host |
| image_id | number | GIMP image id (export, image_info, flatten) |
| path | string | File path (open, export) |
| port | number | GIMP bridge port |
| prefix | string | Filter procedures by name prefix (list_procedures) |
| procedure | string | PDB procedure name (pdb_call), e.g. gimp-image-flatten |
| width | number | Image width (new_image) |
gitFile read/write, shell execution, AST code edits, git operations, HTTP calls, UI components.| Parameter | Type | Description |
|---|---|---|
| action * | string | Git action |
| all | boolean | |
| author | string | Filter by author |
| cherry | string | Commit SHA for cherry-pick |
| create | boolean | Create new branch on checkout |
| file | string | File path (diff, blame, log) |
| files | array | Files to stage/add |
| force | boolean | |
| format | string | Log format (short, medium, full, fuller, oneline, format:...) |
| graph | boolean | Show graph (log) |
| index | number | Stash index |
| key | string | Config key |
| limit | number | Number of entries (log, reflog) |
| lines | string | Line range (blame, e.g., 10,20) |
| message | string | Commit/tag/stash message |
| mode | string | Reset mode |
| name | string | Branch/tag/remote/worktree name |
| oneline | boolean | |
| patch | string | Unified diff patch content (for apply) |
| path | string | Repository path |
| pattern | string | Clean pattern / grep pattern |
| ref | string | Commit ref |
| since | string | Since date (e.g., 1.week, 2024-01-01) |
| staged | boolean | Staged changes (diff) |
| stat | boolean | Show diffstat only |
| sub_action | string | Sub-action: list, create, delete, checkout, add, remove, show, start, good, bad, run, push, pop, apply, drop |
| target | string | Target branch/ref (merge, rebase, reset) |
| until | string | Until date |
| url | string | Remote URL (clone, remote add) |
| value | string | Config value |
grepSearch for patterns in files using tgrep, ripgrep or grep| Parameter | Type | Description |
|---|---|---|
| contextLines | number | Number of context lines to show |
| filePattern | string | File pattern to include (e.g., "*.ts") |
| ignoreCase | boolean | Case insensitive search |
| path | string | The path to search in |
| pattern * | string | The pattern to search for (regex supported) |
| showLineNumbers | boolean | Show line numbers |
hanzoCoT scratchpads, semantic memory, Hanzo Cloud resource dispatch, task coordination, canvas.hanzo_nodeConnect to or spawn a Hanzo compute node for distributed AI processing| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform |
| blockchain | boolean | Enable blockchain consensus |
| models | array | Models to load on the node |
| network | boolean | Enable network discovery |
infoGet metadata about a file or directory| Parameter | Type | Description |
|---|---|---|
| path * | string | The path to get info for |
jqJSON processor - jq without shell escaping issues. Examples: jq --filter ".result.data" --input '{"result": {"data": [1,2,3]}}' jq --filter ".[] | select(.active)" --file data.json jq --filter "keys" --input '{"a": 1, "b": 2}' jq --filter '.checks | to_entries[] | select(.value.error != null)' --file health.json Parameters: filter: jq filter expression (required) input: JSON input as string file: Path to JSON file (alternative to input) raw: Output raw strings without quotes (default: false) compact: Compact output (default: false) slurp: Read entire input as single array (default: false) sort_keys: Sort object keys (default: false) The filter is passed directly to jq without shell interpretation, so you don't need to escape special characters like ! or || Parameter | Type | Description |
|---|---|---|
| compact | boolean | Compact output |
| file | string | Path to JSON file |
| filter * | string | jq filter expression |
| input | string | JSON input string |
| raw | boolean | Output raw strings |
| slurp | boolean | Read as single array |
| sort_keys | boolean | Sort object keys |
kai_agent_stepTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| available_tools * | array | Candidate tool specifications: [{name, description, parameters}] |
| goal * | string | The overall goal or task objective |
| trajectory | array | Past steps taken: [{step_index, action, tool_name, arguments, observation, is_error}] |
kai_choiceTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| criteria * | any | {label: description} or [label, ...]; 2 labels or more |
| instructions | any | Optional, recommended. What to decide, e.g. "Which team should handle this ticket?" |
| model | any | |
| state * | any |
kai_command_guardTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| command * | string | The command line. |
| policy | string | The lowest verdict to return (default allow). |
kai_compactContext compaction using Kai typed decisions. Replaces lossy LLM summarization by pruning stale tool outputs while preserving critical compiler diagnostics, error traces, and prompt cache hit rates.| Parameter | Type | Description |
|---|---|---|
| keep_threshold | number | Confidence threshold for keeping tool outputs (default 0.5) |
| messages * | array | The conversation messages to compact |
| model | string | Decision model (default kai) |
| preserve_recent | number | Number of recent messages to preserve untouched (default 4) |
| truncate_chars | number | Max characters to keep for truncated non-critical results (default 400) |
kai_decideTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| model | any | |
| questions * | object | Question name → {type, instructions, criteria}; 1 to 100 questions |
| state * | any |
kai_extractTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| model | any | |
| schema * | object | Field extraction schema: { [fieldName]: { type: "choice"|"score"|"noul", description: string, options?: string[]|object, levels?: string[] } } |
| text * | any | The text or evidence to extract information from. |
kai_injection_screenTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| model | any | |
| text * | string | The untrusted text. |
kai_log_triageTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| logs * | string | The log text: the tail of the failing step is enough. |
kai_next_actionTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| candidates * | array | Candidate actions: [{ action_id, tool, parameters?, description, preconditions_satisfied? }]. |
| goal * | string | What the agent is trying to do. |
| state | any | Optional context: last output, error, files. |
kai_noulTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| criteria | object | What each side means: {"true": ..., "false": ...} |
| instructions | any | Optional, recommended. The statement, e.g. "The customer asks for a refund." |
| model | any | |
| state * | any |
kai_recoverTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| error_category * | string | The kai_log_triage class: resources, network, timeout, permission, dependency, compile, test, crash, unknown. |
| failure_fingerprint * | object | { tool, error_snippet, attempt_count, last_action? } |
kai_scoreTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| criteria * | array | The levels, lowest first: [level0, level1, ...]; none null |
| instructions | any | Optional, recommended. What to rate, e.g. "How urgent is this ticket?" |
| model | any | |
| state * | any |
kai_tool_selectTyped policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries `kai_decide`; the rest are in the TypeScript server (below).| Parameter | Type | Description |
|---|---|---|
| limit | number | How many to return (default 5). |
| task * | string | What the agent is about to do. |
| tools * | array | Candidate tools: [{ name, description, parameters? }]. |
killKill a background process| Parameter | Type | Description |
|---|---|---|
| id * | string | The process ID to kill |
listList files in a directory| Parameter | Type | Description |
|---|---|---|
| path | string | The directory path to list |
| pattern | string | Glob pattern to filter files |
| recursive | boolean | Whether to list files recursively |
llmModels through Hanzo. query: one completion; model defaults to enso-auto, and "auto" lets Enso, the router, pick across the models your org can serve. max_cost (USD per 1,000 tokens) and max_latency_ms bound what Enso may pick. fallback true lets another model answer when the plan refuses the one named. Returns {id, model, content, finish_reason, usage, served, paid_by, usage_state, usage_class, fallback, fallback_reason}: model is the one Enso routed to, served the SKU that answered, paid_by plan, credits or free, id is what feedback takes. models: the catalog with each model's family, class (premium, ours, free), what it supports and price per million input and output tokens; variable true means a router billed at the answering model's cost. search (words in id, name, owner or description), class, family and capability (tools, vision, reasoning, or a modality such as image, audio, embeddings) narrow it. limits: where your plan stands: its state (ok, near, limited), each class's percent used, who pays, when it resets, paused models and their fallbacks, and the actions (upgrade, credits, topup) with their links. A refusal (402 or 429) is an error naming its code (plan_allowance_used, paid_plan_required, free_plan_cap, model_cap, usage_cap_exceeded, insufficient_balance) and its actions. feedback: tell Enso how a routed answer went: request_id is the completion id, signal one of| Parameter | Type | Description |
|---|---|---|
| action | string | query (default), models, limits or feedback |
| capability | string | models: tools, vision, reasoning, or a modality taken or made (image, audio, embeddings, rerank, transcript, decision) |
| class | string | models: only this class |
| fallback | boolean | query: when the plan refuses the model, let its fallback answer instead (X-Hanzo-Fallback: allow) |
| family | string | models: only this family, e.g. enso, zen or kai |
| max_cost | number | query: the most you will pay, in USD per 1,000 tokens (X-Max-Cost) |
| max_latency_ms | number | query: the slowest model you will accept, in milliseconds (X-Max-Latency-Ms) |
| max_tokens | number | query: the most tokens to generate |
| messages | array | query: the whole conversation as [{role, content}], instead of prompt |
| model | string | query: a model id, "auto", or an enso id (enso-auto, enso-flash, enso-pro, enso-ultra, enso-free); default ${DEFAULT_MODEL} |
| prompt | string | query: the user message |
| rating | number | feedback: 1 to 3, with signal rating |
| request_id | string | feedback: the completion id query returned (chatcmpl-...) |
| search | string | models: words that must all appear in the id, name, owner or description |
| signal | string | feedback: how the answer went |
| system | string | query: an optional system message, with prompt |
| temperature | number | query: sampling temperature |
llm_routerRoute requests to optimal LLM based on task requirements and cost optimization| Parameter | Type | Description |
|---|---|---|
| fallbackChain | array | Fallback model chain |
| prompt * | string | The prompt to route |
| requirements | object | |
| taskType | string | Type of task |
logsGet output from a background process| Parameter | Type | Description |
|---|---|---|
| id * | string | The process ID |
| tail | number | Number of lines to show from the end |
lspSilent alias -> code(action="lsp")| Parameter | Type | Description |
|---|---|---|
| action | string | |
| file | string |
memoryCoT scratchpads, semantic memory, Hanzo Cloud resource dispatch, task coordination, canvas.| Parameter | Type | Description |
|---|---|---|
| action * | string | Memory action |
| append | boolean | Append to existing value |
| content | string | Alias for value (also used for facts and summarize) |
| data | object | Key-value map for bulk import, or manage operations object |
| fact_action | string | Sub-action for facts |
| file | string | File path for export/import |
| id | string | Alias for key |
| kb | string | Knowledge base name for facts |
| key | string | Memory key |
| limit | number | |
| metadata | object | |
| namespace | string | |
| query | string | Search query (full-text across keys, values, tags) |
| scope | string | Alias for namespace |
| sort | string | |
| tag | string | Filter/assign tag |
| tags | array | |
| topic | string | Topic for summarize action |
| ttl | string | Expiry ISO date (auto-delete after) |
| value | string | Content to store |
modeCoT scratchpads, semantic memory, Hanzo Cloud resource dispatch, task coordination, canvas.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| name | string | Mode or preset name |
| verbose | boolean |
moveMove or rename a file or directory| Parameter | Type | Description |
|---|---|---|
| destination * | string | The destination path |
| overwrite | boolean | Overwrite destination if it exists |
| source * | string | The source path |
patchMake multiple edits to a file in one operation| Parameter | Type | Description |
|---|---|---|
| edits * | array | Array of edit operations |
| path * | string | The file path to edit |
planCoT scratchpads, semantic memory, Hanzo Cloud resource dispatch, task coordination, canvas.| Parameter | Type | Description |
|---|---|---|
| action * | string | Plan action |
| after | string | Insert after step ID (add_step) |
| dependencies | array | Step dependencies (add_step) |
| description | string | Step description (add_step) |
| filter | string | |
| goal | string | |
| id | string | Plan ID (or "latest") |
| limit | number | |
| name | string | |
| output | string | Step result |
| status | string | |
| stepId | string | |
| steps | array | |
| tags | array | |
| text | string | Notes text |
psList running background processesreadRead the contents of a file| Parameter | Type | Description |
|---|---|---|
| encoding | string | The encoding to use (default: utf8) |
| path * | string | The path to the file to read |
refactorCode refactoring: rename, extract, inline, move, references, dead_code, complexity, duplicates, organize_imports, signatures, grep_replace| Parameter | Type | Description |
|---|---|---|
| action * | string | Refactoring action |
| dryRun | boolean | Preview without applying |
| endLine | number | End line (extract) |
| file | string | Source file |
| filePattern | string | File glob (e.g., "*.ts", "*.{js,py}") |
| from | string | Source file (move) |
| limit | number | |
| minLines | number | Min duplicate block size |
| name | string | New function name (extract) |
| newName | string | New name (rename) |
| path | string | |
| pattern | string | Regex pattern (grep_replace) |
| replacement | string | Replacement string (grep_replace) |
| startLine | number | Start line (extract) |
| symbol | string | Symbol name |
| to | string | Destination file (move) |
researchHanzo Science & Research tool (/v1/research evidence & evolution plane + /v1/ask deep cited synthesis): studies, runs, start, status, ledger, artifacts, search, candidates, lineage, evaluations, replicate, evidence, release_status.| Parameter | Type | Description |
|---|---|---|
| action | string | Research action: studies | runs | start | status | ledger | artifacts | search | candidates | lineage | evaluations | replicate | evidence | release_status |
| benchmark | string | Filter runs/ledger/evaluations by benchmark ID |
| body | object | Payload for write actions (start, ledger, candidates, evaluations, replicate, evidence) |
| completion | string | |
| content_b64 | string | Base64-encoded artifact bytes to upload (artifacts) |
| frontier | boolean | Return frontier candidates (action=candidates) |
| id | string | Study, experiment, run, candidate, claim, or evidence ID |
| idempotency_key | string | Idempotency key header for mutating Research API requests |
| kind | string | Target kind for start/artifacts/lineage/release_status (study, experiment, run, snapshot, report, evidence, decisions, commitments, standard) |
| mode | string | Answer mode for action=search (research or retired deep) |
| op | string | Sub-operation for science actions (e.g. candidates qualify/retract/propose, evaluations compare) |
| project | string | Project sub-scope |
| query | string | Question to research (action=search; alias: q) |
| run_a | string | First run ID for comparison (action=evaluations) |
| run_b | string | Second run ID for comparison (action=evaluations) |
| sha256 | string | Content-addressed artifact SHA-256 (artifacts) |
| system | string | Filter runs by system under test |
research_artifactFetch or upload content-addressed research artifacts (snapshots or reports).| Parameter | Type | Description |
|---|---|---|
| action * | string | Get by sha256 or put content bytes |
| content_b64 | string | Base64-encoded bytes for upload |
| kind | string | Artifact kind |
| run_id | string | Associated run ID |
| sha256 | string | SHA-256 hash for retrieval |
research_claimsManage formal performance or promotion claims backed by verifiable runs and gates.| Parameter | Type | Description |
|---|---|---|
| benchmark | string | Filter by benchmark |
research_compareCompare two runs side-by-side with discrepancy guards (detects unequal datasets, splits, or prompts).| Parameter | Type | Description |
|---|---|---|
| run_a * | string | First run ID |
| run_b * | string | Second run ID |
research_datasetsList benchmark datasets, declarations, and official scoring metrics.| Parameter | Type | Description |
|---|---|---|
| id | string | Benchmark ID (e.g. "labels", "gpqa") |
| project | string | Project sub-scope |
research_gateRegister immutable gate specifications or evaluate run measures against gate thresholds.| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform |
| gate_spec | object | Gate specification object |
| run_id | string | Run ID to check against gate |
research_lineageVerify transitive purpose and contamination invariance for any artifact or run.| Parameter | Type | Description |
|---|---|---|
| target * | string | Artifact SHA-256 or Run ID |
research_runGet a specific run's full execution record, parameters, configuration digests, and measures.| Parameter | Type | Description |
|---|---|---|
| id * | string | Stable run ID |
| project | string | Project sub-scope |
research_runsList recorded executions in the Hanzo research plane by benchmark, system, or completion status.| Parameter | Type | Description |
|---|---|---|
| benchmark | string | Filter by benchmark ID (e.g. "labels", "locomo") |
| completion | string | Filter by completion state |
| project | string | Project sub-scope (default: caller project) |
| system | string | Filter by system under test (e.g. "kai-a10") |
research_teacher_interactionsQuery and trace teacher model observations (e.g. Jev) with nanodollar accounting and lineage checks.| Parameter | Type | Description |
|---|---|---|
| model | string | Teacher model name (e.g. "typesafe/jev-1.13") |
| purpose | string | Data purpose |
searchUnified search that combines multiple search strategies| Parameter | Type | Description |
|---|---|---|
| filePattern | string | File pattern to include |
| maxResults | number | Maximum number of results |
| path | string | The path to search in |
| query * | string | The search query |
| type | string | Type of search: "all", "code", "text", "filename" |
semantic_ast_searchStructural AST search with balanced metavariables ($NODE, $$$VARIADIC) across authorized tenant blobs, ignoring comments and string literals.| Parameter | Type | Description |
|---|---|---|
| callerRoles | array | Caller RBAC roles |
| files | array | Optional canonical blobs to index first |
| includeTests | boolean | Whether to include test files (default false) |
| languages | array | Optional language filter |
| packageFilter | array | Optional package filter |
| pattern * | string | Structural AST pattern (e.g. "legacyFetch($URL, $$$OPTS)") |
| repoId | string | Repository identifier |
| tenantId | string | Tenant scope identifier |
semantic_change_planGenerate constrained AST-aware edits, compute symbol-level semantic diffs, detect cross-package contract breakages, and select incremental tests with automatic low-confidence escalation.| Parameter | Type | Description |
|---|---|---|
| callerRoles | array | Caller RBAC roles |
| commitIfReady | boolean | Persist edits to the canonical store if syntax & cross-package checks pass |
| explicitFileContents | object | Optional map of filePath -> updated source content |
| files | array | Optional canonical blobs to upsert prior to planning |
| repoId | string | Repository identifier |
| rules | array | AST rewrite rules ({id, pattern, replacement, languages, packageFilter, includeTests}) |
| tenantId | string | Tenant scope identifier |
skillsDiscover, inspect, detect, list, and install agent skills from hanzoskills.com (/search.json & /skills/<slug>/SKILL.md) and Hanzo Cloud (/v1/tool/skills) into ~/.agents/skills/<slug>/SKILL.md.| Parameter | Type | Description |
|---|---|---|
| action * | string | Skill operation: search | detect | get | install | list |
| category | string | Optional category filter for action=search (e.g. "hanzo") |
| limit | number | Maximum results to return (default 10) |
| name | string | Alias for slug |
| path | string | Workspace directory for action=detect (default: current directory) |
| query | string | Search words for action=search (e.g. "kai decisions" or "kubernetes deploy") |
| remote | boolean | For action=list: also include remote catalog and org /v1/tool/skills entries |
| slug | string | Skill slug (^[a-z0-9][a-z0-9_-]{0,63}$) for get or install (alias: name) |
spawn_agentSpawn a new AI agent to handle a specific task with optional model selection and constraints| Parameter | Type | Description |
|---|---|---|
| context | string | Additional context for the agent |
| files | array | Files the agent should work with |
| model | string | Model to use (e.g., zen6, zen6-flash, llama-3.2-3b) |
| outputGoal | string | Expected output format or goal |
| prompt * | string | The task prompt for the agent |
| readOnly | boolean | Whether agent has read-only access |
| useWorktree | boolean | Create isolated Git worktree for agent |
swarm_orchestrationOrchestrate multiple agents working in parallel or sequence with coordination| Parameter | Type | Description |
|---|---|---|
| agents * | array | Array of agent configurations |
| consensusRounds | number | Number of consensus rounds for consensus mode |
| orchestrationMode | string | How agents should be coordinated |
systemSilent alias -> workspace(action="system")| Parameter | Type | Description |
|---|---|---|
| action | string |
tasksCoT scratchpads, semantic memory, Hanzo Cloud resource dispatch, task coordination, canvas.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| assignee | string | |
| content | string | |
| due | string | Due date (ISO or YYYY-MM-DD) |
| file | string | File path for export/import |
| id | string | |
| ids | array | Multiple IDs (batch) |
| limit | number | |
| parent | string | Parent task ID (subtasks) |
| priority | string | |
| project | string | |
| query | string | Search query |
| sort | string | |
| status | string | |
| tag | string | |
| tags | array | |
| text | string | Note text |
thinkCoT scratchpads, semantic memory, Hanzo Cloud resource dispatch, task coordination, canvas.| Parameter | Type | Description |
|---|---|---|
| action * | string | Reasoning or LLM action |
| categories | array | Classification categories |
| code | string | Code to analyze (critic) |
| context | string | Additional context |
| format | string | Output format: bullets, paragraph, json |
| language | string | Programming or natural language |
| maxLength | number | Max summary length in words |
| maxTokens | number | |
| model | string | |
| models | array | Model IDs for consensus |
| prompt | string | Prompt for llm/query |
| question | string | Question for reasoning / consensus |
| steps | array | Chain steps |
| system | string | System prompt |
| targetLanguage | string | Target language for translation |
| task | string | Task for agent delegation |
| temperature | number | |
| text | string | Text to summarize/classify/translate/explain |
| texts | array | Texts to compare |
| thought | string | What to think about / critique |
trace_dependencyTrace directed dependency chains between symbols or files across static calls, interface dispatch, and runtime traces.| Parameter | Type | Description |
|---|---|---|
| callerRoles | array | |
| from * | string | Source symbol or file path |
| maxDepth | number | Max hops (default 5) |
| maxPaths | number | Max paths returned (default 3) |
| repoId | string | |
| tenantId | string | |
| to * | string | Target symbol or file path |
trackerHanzo Cloud work-item tracker (/v1/tracker): boards (list org boards), issues (list/filter board issues), create (open a work item; defaults source=agent and links session:<id>), update (move status, assign, or relink).| Parameter | Type | Description |
|---|---|---|
| action * | string | Tracker action: boards | issues | create | update |
| assignee | string | |
| description | string | Work item description |
| extRef | string | External anchor when not a session |
| key | string | Board key, e.g. ENG (required for issues, create, update) |
| kind | string | |
| labels | array | |
| number | number | Issue number within the board, e.g. 14 for ENG-14 (required for update) |
| priority | string | |
| repo | string | Git repository slug |
| session | string | Agent session ID to link via extRef session:<id> |
| source | string | |
| status | string | |
| title | string | Work item title (required for create) |
tracker_boardsVisible engineering work items and live session status tracking on `hanzo.app`.tracker_createVisible engineering work items and live session status tracking on `hanzo.app`.| Parameter | Type | Description |
|---|---|---|
| assignee | string | Who holds it |
| description | string | The detail behind the title |
| extRef | string | Raw external anchor, when it is not a session (e.g. a PR branch) |
| key * | string | Board key, e.g. ENG (from tracker_boards) |
| kind | string | What it is (default issue) |
| labels | array | Free-form tags |
| priority | string | Default none |
| repo | string | Git repository this work belongs to |
| session | string | Agent-session id to link — stored as extRef `session:<id>` |
| source | string | Which surface opened it (default agent) |
| status | string | Board column (default backlog) |
| title * | string | One line saying what needs doing |
tracker_issuesVisible engineering work items and live session status tracking on `hanzo.app`.| Parameter | Type | Description |
|---|---|---|
| key * | string | Board key, e.g. ENG (from tracker_boards) |
| kind | string | What the item is |
| repo | string | Only items bound to this git repository |
| source | string | Which surface opened it |
| status | string | Board column |
tracker_updateVisible engineering work items and live session status tracking on `hanzo.app`.| Parameter | Type | Description |
|---|---|---|
| assignee | string | Hand it to someone |
| description | string | New description |
| extRef | string | Raw external anchor, when it is not a session |
| key * | string | Board key, e.g. ENG |
| labels | array | |
| number * | number | Issue number within the board — the 14 of ENG-14 |
| priority | string | |
| session | string | Agent-session id to link — stored as extRef `session:<id>` |
| status | string | Move to this column |
| title | string | New title |
treeDisplay a tree view of directory structure| Parameter | Type | Description |
|---|---|---|
| maxDepth | number | Maximum depth to traverse |
| path | string | The directory path to display |
| showHidden | boolean | Whether to show hidden files |
uiFile read/write, shell execution, AST code edits, git operations, HTTP calls, UI components.| Parameter | Type | Description |
|---|---|---|
| block | string | Block name |
| category | string | Filter by category |
| component | string | Component name (alias: name) |
| components | array | List of components for composition |
| depth | number | Directory traversal depth (default: 3) |
| description | string | Description for composition |
| file | string | File path (for read_file, relative to hanzo/ui root) |
| framework | string | UI framework to use (default: hanzo) |
| include_files | boolean | Include all files when fetching blocks (default: true) |
| method * | string | The operation to perform |
| name | string | Component or block name (alias for component/block) |
| overwrite | boolean | Overwrite existing files during installation |
| path | string | Directory path for structure |
| query | string | Search query (alias: search) |
| search | string | Search query (alias for query) |
ui_add_componentGet instructions for adding a component to a projectui_add_multi_frameworkAdd a component from @hanzo/ui with support for React, Vue, Svelte, or React Native.ui_compare_frameworksCompare component availability across different frameworks in @hanzo/ui.ui_component_metadataGet metadata for a UI component| Parameter | Type | Description |
|---|---|---|
| framework | string | UI framework (default: hanzo) |
| name * | string | Component name |
ui_convert_frameworkConvert a component from one framework to another in @hanzo/ui.ui_create_compositionCreate a composition using multiple UI components| Parameter | Type | Description |
|---|---|---|
| components * | array | List of components to use |
| description | string | Description of what the composition should do |
| name * | string | Name for the composition (e.g., LoginPage, Dashboard) |
ui_directory_structureGet directory structure from a UI framework repository| Parameter | Type | Description |
|---|---|---|
| framework | string | UI framework (default: hanzo) |
| path * | string | Directory path in the repository |
ui_fetch_blockFetch a UI block/section from GitHub repositories| Parameter | Type | Description |
|---|---|---|
| framework | string | UI framework (default: hanzo) |
| name * | string | Block name (e.g., hero, features, pricing) |
ui_fetch_componentFetch a UI component from GitHub repositories (shadcn/ui, Hanzo UI, etc)| Parameter | Type | Description |
|---|---|---|
| framework | string | UI framework (default: hanzo) |
| name * | string | Component name (e.g., button, card, dialog) |
ui_fetch_demoFetch a demo/example for a UI component| Parameter | Type | Description |
|---|---|---|
| framework | string | UI framework (default: hanzo) |
| name * | string | Component name |
ui_get_blockGet a UI block implementation with support for complex compositions| Parameter | Type | Description |
|---|---|---|
| framework | string | UI framework (default: hanzo) |
| includeFiles | boolean | Include all related files if block has multiple components |
| name * | string | Block name (e.g., dashboard-01, authentication-01, chart-01) |
ui_get_componentGet detailed information about a specific UI component| Parameter | Type | Description |
|---|---|---|
| name * | string | Component name (e.g., button, card, dialog) |
ui_get_component_demoGet component demo/example code from GitHub repositories| Parameter | Type | Description |
|---|---|---|
| framework | string | UI framework (default: hanzo) |
| name * | string | Component name |
ui_get_component_metadataGet component dependencies and registry info from GitHub repositories| Parameter | Type | Description |
|---|---|---|
| framework | string | UI framework (default: hanzo) |
| name * | string | Component name |
ui_get_component_sourceGet the full source code of a componentui_get_directory_structureBrowse repository structure to explore available UI components and blocks| Parameter | Type | Description |
|---|---|---|
| depth | number | Maximum depth to traverse (default: 1) |
| framework | string | UI framework (default: hanzo) |
| path * | string | Directory path in the repository (e.g., "apps/www/src/lib/registry/new-york/ui") |
ui_get_installation_guideGet the complete installation guide for setting up Hanzo UIui_get_registryGet information about UI component registriesui_github_rate_limitGet current GitHub API rate limit informationui_initInitialize a new project using @hanzo/ui components and styles.ui_install_componentInstall a UI component from @hanzo/ui or shadcn/ui registry| Parameter | Type | Description |
|---|---|---|
| name * | string | Component name to install |
| overwrite | boolean | Overwrite existing files |
ui_list_blocksList all available UI blocks with categories (dashboard, authentication, charts, etc)| Parameter | Type | Description |
|---|---|---|
| category | string | Filter by category (e.g., dashboard, authentication, chart, sidebar) |
| framework | string | UI framework (default: hanzo) |
ui_list_componentsList all available UI components from @hanzo/ui and shadcn/ui registries| Parameter | Type | Description |
|---|---|---|
| category | string | Filter by category (layout, forms, feedback, navigation, data, display, charts) |
| registry | string | Filter by registry (shadcn, hanzo, all) |
ui_list_github_blocksList available blocks from a framework repository| Parameter | Type | Description |
|---|---|---|
| framework | string | UI framework (default: hanzo) |
ui_list_github_componentsList available components from a framework repository| Parameter | Type | Description |
|---|---|---|
| framework | string | UI framework (default: hanzo) |
ui_list_stylesList all available styles in the registryui_search_componentsSearch for UI components by name or functionality| Parameter | Type | Description |
|---|---|---|
| query * | string | Search query (name or functionality) |
ui_search_registrySearch the registry for components matching criteriavaultSovereign credential vault unifying Hanzo KMS (`~/.local/bin/hanzo kms`), LastPass (`lpass` CLI + Enterprise API), and ZAP Agentic Browser Auto-Login. Secrets live ONLY in Hanzo KMS and are NEVER returned or written to disk.
Actions:
- status: check Hanzo KMS health, LastPass CLI / Enterprise API readiness, and connected ZAP browsers
- list: list credential metadata (app, path, keys, source) from KMS and LastPass without values
- seal: seal app credentials (username, password, api_key, oauth_token, totp_secret, url, notes) into KMS
- sync_lastpass: stream items from `lpass export` in-memory into Hanzo KMS (`credentials/<slug>/*`) with zero disk writes
- totp: compute RFC 6238 TOTP from KMS `TOTP_SECRET` (fills directly into ZAP browser when fillSelector is given; never exposes code)
- browser_login: sign in to an app in the Agentic Browser over ZAP using KMS credentials + multi-step + TOTP (pauses cleanly on CAPTCHAs)| Parameter | Type | Description |
|---|---|---|
| action * | string | Vault operation: status | list | seal | sync_lastpass | totp | browser_login |
| api_key | string | seal: API key (sealed to KMS, never echoed) |
| app | string | App or connector slug (e.g. gmail, salesforce, x, lastpass, quickbooks) |
| clientId | string | Explicit ZAP browser node ID |
| custom | object | seal: additional key/value secrets to seal under credentials/<app>/<KEY> |
| env | string | Hanzo KMS environment (default: prod) |
| fillSelector | string | totp: snapshot ref (@eN) or CSS selector to fill the live 6-digit TOTP code into via ZAP |
| filterApp | string | sync_lastpass: optional app substring filter |
| loginUrl | string | browser_login: explicit login URL override |
| notes | string | seal: non-echoed credential notes |
| oauth_token | string | seal: OAuth bearer token (sealed to KMS, never echoed) |
| password | string | seal: account password (sealed to KMS, never echoed) |
| path | string | Custom KMS secret path override (default: credentials/<app>) |
| submit | boolean | totp: press Enter after filling the TOTP code into the browser |
| tabId | any | totp / browser_login: target browser tab ID |
| targetBrowser | string | ZAP browser filter (chrome | firefox) |
| totp_secret | string | seal: Base32 TOTP secret or otpauth:// URI (sealed to KMS) |
| url | string | seal: login or app URL |
| username | string | seal: account username or email |
vectorSemantic vector search: index content, search by similarity, stats, delete, list tables, reindex, find similar documents| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| chunkSize | number | Max chars per chunk for indexing |
| content | string | Content to index |
| filePattern | string | File glob for indexing (e.g., "*.md") |
| id | string | Document ID (delete, similar) |
| limit | number | |
| metadata | object | |
| path | string | File/dir to index |
| projectPath | string | Project root for DB location |
| query | string | Search query |
| recursive | boolean | Recursively index directory |
| table | string | Table name |
| tags | array | Tags for indexed content |
| threshold | number | Similarity threshold (0-1) |
visionSilent alias -> fetch(action="vision")| Parameter | Type | Description |
|---|---|---|
| image | string | |
| prompt | string |
web_readSilent alias -> fetch(action="read")| Parameter | Type | Description |
|---|---|---|
| url | string |
web_searchSilent alias -> fetch(action="search")| Parameter | Type | Description |
|---|---|---|
| q | string | |
| query | string |
workspaceFile read/write, shell execution, AST code edits, git operations, HTTP calls, UI components.writeWrite content to a file| Parameter | Type | Description |
|---|---|---|
| content * | string | The content to write to the file |
| encoding | string | The encoding to use (default: utf8) |
| path * | string | The path to the file to write |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 766 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml and 2 more.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
1 check has not been run yet.
Releases
README
The repository's README runs to about 766 words, fetched a month ago. The original in the repository is authoritative.
Read full README