hexum_expand

Last updated 12 September 2026

When to call

When one folded function, class, or method is the thing to patch.

Arguments

file_path (relative workspace path), symbol_name (exact function, class, or method name).

What comes back

The full source of that symbol.

Example

{
  "name": "hexum_expand",
  "arguments": { "file_path": "src/ui/App.tsx", "symbol_name": "App" }
}

What the agent does next

Edit from that body. Do not expand the whole file just in case.

All five tools: Hexum MCP tools. Contract file: architecture.hexum.

FAQ

What is hexum_expand?

When one folded function, class, or method is the thing to patch, expand that name only.

When should the agent call hexum_expand?

When one folded function, class, or method is the thing to patch.

Does Hexum replace Cursor or Claude Code?

No. You keep Cursor, Claude Code, Antigravity, Codex, or Grok. Hexum is not an editor and not a model. You paste a key into the agent you already use.

Does the architecture check use an AI?

No. It reads a rules file in your repo and reports forbidden imports. It does not call a model, so it does not guess.

Does Hexum store my repo?

No. We do not keep the code your agent sends. We do not train on it. Policy: /zdr.