Get OpenAPI spec. Use this to get details e.g for a new blueprint
image-builder__get_openapiRetrieve the OpenAPI specification for Red Hat Image Builder. Optionally filter by endpoints to get only the schema needed for blueprint creation or update.
Instructions
Get OpenAPI spec. Use this to get details e.g for a new blueprint
š¢ CALL IMMEDIATELY - No information gathering required.
Optional parameters:
endpoints: Comma-separated endpoint specs (like
GET:/blueprints,POST:/blueprints). When provided, the returned OpenAPI is minimized to only the selected paths and their transitive component references. Use this only to prepare payloads forcreate_blueprintorupdate_blueprint.
Returns: OpenAPI specification JSON (possibly reduced when 'endpoints' is provided)
Raises: Exception: If the image-builder connection fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoints | No | Comma-separated list of endpoint specs to reduce the spec, e.g. 'GET:/blueprints,POST:/blueprints'. Only needed for create_blueprint/update_blueprint. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |