get_category
Retrieve a FRED category's name and parent ID using its category ID. Use 0 for the root category.
Instructions
Fetch a FRED category by its id (0 is the root of the category tree): its name and parent category id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | Yes | The FRED category id (0 is the root of the category tree). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The category's identifier. | |
| name | Yes | Human-readable name, e.g. `"Trade Balance"`. | |
| parent_id | Yes | The parent category's id. For the root category this is [`CategoryId::ROOT`] (`0`), which FRED may also omit entirely. |