pare-infra
v0.24.2Pare Infra — Structured infrastructure-as-code operations as typed JSON.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
init Terraform Init
Initializes a Terraform working directory. Downloads providers, configures backend, and prepares for plan/apply.
| Parameter | Type | Description |
|---|---|---|
backend | boolean | Set false to skip backend initialization (-backend=false), for validate-only workflows that must not need state access or backend credentials. Default: true |
compact | boolean | Prefer compact output |
migrateState | boolean | Migrate state to new backend configuration (-migrate-state) |
path | string | Project root path |
reconfigure | boolean | Reconfigure backend, ignoring saved configuration (-reconfigure) |
upgrade | boolean | Upgrade provider plugins to newest acceptable versions (-upgrade) |
plan Terraform Plan
Shows the Terraform execution plan with resource change counts. Read-only — does not modify infrastructure.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
out | string | Save the plan to a file for later apply (-out=FILE) |
path | string | Project root path |
target | string | Target a specific resource for planning (-target=RESOURCE) |
varFile | string | Path to a variable definitions file (-var-file=FILE) |
vars | object | Variable overrides as key-value pairs (-var KEY=VALUE) |
validate Terraform Validate
Validates Terraform configuration files for syntax and consistency errors. Returns structured diagnostics.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
path | string | Project root path |
fmt Terraform Fmt
Checks Terraform configuration formatting. Lists files that need formatting and optionally shows diffs.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
diff | boolean | Show formatting differences (-diff) |
path | string | Project root path |
recursive | boolean | Process files in subdirectories (-recursive, default true) |
output Terraform Output
Shows Terraform output values from the current state. Returns structured name/value/type/sensitive data.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
path | string | Project root path |
state-list Terraform State List
Lists all resources tracked in the Terraform state. Returns resource addresses.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
path | string | Project root path |
workspace Terraform Workspace
Manages Terraform workspaces: list, select, create, or delete workspaces.
| Parameter | Type | Description |
|---|---|---|
action | string | Workspace action to perform |
compact | boolean | Prefer compact output |
name | string | Workspace name (required for select/new/delete) |
path | string | Project root path |
show Terraform Show
Shows the current Terraform state or a saved plan file in structured JSON. Returns resources, outputs, and version info.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
path | string | Project root path |
planFile | string | Path to a saved plan file to show instead of the current state |
vagrant Vagrant
Manages Vagrant VMs: status, global-status, up, halt, destroy.
| Parameter | Type | Description |
|---|---|---|
action * | string | Vagrant action to perform |
compact | boolean | Prefer compact output |
machine | string | Target machine name |
workDir | string | Project root path |
ansible-playbook Ansible Playbook
Runs an Ansible playbook and returns structured play recap with per-host results.
| Parameter | Type | Description |
|---|---|---|
playbook * | string | Path to playbook file |
check | boolean | Run in check mode / dry-run (-C) |
compact | boolean | Prefer compact output |
extraVars | string | Extra variables as key=value or JSON string (-e) |
forks | integer | Number of parallel processes (-f) |
inventory | string | Inventory file or host list (-i) |
limit | string | Limit to specific hosts or groups (--limit) |
listTags | boolean | List all available tags (--list-tags) |
listTasks | boolean | List all tasks that would be executed (--list-tasks) |
path | string | Project root path |
skipTags | string | Skip plays and tasks tagged with these values (--skip-tags) |
syntaxCheck | boolean | Perform a syntax check on the playbook (--syntax-check) |
tags | string | Only run plays and tasks tagged with these values (--tags) |
verbose | integer | Verbosity level 0-4 (-v through -vvvv) |
ansible-inventory Ansible Inventory
Queries Ansible inventory for hosts, groups, and variables. Returns structured JSON for --list or tree text for --graph.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
graph | boolean | Show inventory graph (--graph) instead of JSON list |
host | string | Show variables for a specific host (--host) |
inventory | string | Inventory file or host list (-i) |
path | string | Project root path |
vars | boolean | Show host variables in graph mode (--vars) |
ansible-galaxy Ansible Galaxy
Installs or lists Ansible collections and roles from Galaxy or a requirements file.
| Parameter | Type | Description |
|---|---|---|
action * | string | Galaxy action to perform |
compact | boolean | Prefer compact output |
force | boolean | Force overwriting an existing collection or role (--force) |
name | string | Collection or role name to install (e.g. community.general) |
path | string | Project root path |
requirements | string | Path to requirements file (-r) |