> ## Documentation Index
> Fetch the complete documentation index at: https://graph.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# graph plan validate

> Validate a plan document by name or file path

Checks structure (templates, references, step ids) and resolves every step's tool against the catalog: packs, user tools, plans, agents, and configured MCP servers. MCP tool names are checked at the server level only.

Problems exit 1; success prints nothing to stdout. A plan whose `requires_servers` names an unconfigured server validates with a note.

## Arguments

**NAME\_OR\_PATH** `string` *required*

The plan's identifier or YAML file path

## Options

**--json** `boolean`

Print a JSON envelope instead of text

## Global options

**-v, --verbose** `integer`

Increase log verbosity (-v info, -vv debug, -vvv trace)

```bash Usage theme={null}
graph plan validate [OPTIONS] <NAME_OR_PATH>
```

```bash Example 1 theme={null}
graph plan validate weekly_changes
```

```bash Example 2 theme={null}
graph plan validate .graph/plans/weekly_changes.yaml
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.