Run a spending query
run_planRun a QueryPlan (see get_catalog.plan_schema). Returns status (ok | clarify | unsupported | error), a one-paragraph answer, columns, rows (max 100), the SQL that ran, caveats and how names were resolved to codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | A QueryPlan object in business terms, following get_catalog's plan_schema, e.g. {"intent": "aggregate", "metric": "obligations", "group_by": ["agency"], "fiscal_years": [2025], "filters": [{"dimension": "award_category", "values": ["contract"]}]}. |