---
title: "axiom inspect"
description: "Print the compiled JSON Schema for a node or flow (the shape an invoke must satisfy)"
category: reference
surfaces: [cli]
related: [reference/cli/axiom, reference/cli/axiom-inspect-flow, reference/cli/axiom-inspect-node]
last_reviewed: 2026-06-06
---

<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT.
     Source of truth: the cobra command definitions in cmd/axiom/cmd/.
     Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->

# axiom inspect

Print the compiled JSON Schema for a node or flow (the shape an invoke must satisfy)

Print the compiled input/output schema for a published node or a compiled flow —
the same schema the hosted MCP's axiom_inspect returns, and the shape an invoke
payload must satisfy.

```text
axiom inspect node <handle>/<package>/<node>[@version]
axiom inspect flow <artifact-id>
```

The schema JSON is printed to stdout exactly as returned (pipes cleanly into jq);
all diagnostics go to stderr. Requires a prior "axiom login".

## Usage

```sh
axiom inspect [flags]
axiom inspect [command]
```

## Flags

| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
| `--help` | `-h` | bool |  | help for inspect |

## Subcommands

| Command | Description |
|---|---|
| [axiom inspect flow](./axiom-inspect-flow.md) | Print a compiled flow's OpenAPI spec (its input schema) |
| [axiom inspect node](./axiom-inspect-node.md) | Print a published node's compiled input/output JSON Schema |

## See also

- [axiom](./axiom.md) — Axiom CLI — build and push node packages
- [axiom inspect flow](./axiom-inspect-flow.md) — Print a compiled flow's OpenAPI spec (its input schema)
- [axiom inspect node](./axiom-inspect-node.md) — Print a published node's compiled input/output JSON Schema
