Skip to content

API Reference parrot_tools.hooba.spec

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.hooba.spec

View source

The pinned Hooba OpenAPI document (FEAT-602 M3).

Class HoobaSpecError

The Hooba OpenAPI document is missing, tampered with, or lacks a required path.

Attribute PINNED_FILE

Attribute PINNED_SHA256

Attribute PINNED_VERSION

Attribute REQUIRED_PATHS

Type: tuple[str, ...]

Function load_pinned_spec

Load and validate the pinned (or overriding) Hooba OpenAPI document.

load_pinned_spec(path: Optional[str] = None) -> Dict[str, Any]

Parameter Type Default Description
path Optional[str] None An explicit path to an OpenAPI document. When None, falls back to the HOOBA_SPEC_PATH environment variable; when neither is set, loads the committed, SHA-256-pinned document bundled with this package.

Returns: Dict[str, Any] — The decoded OpenAPI document.

Raises:

  • HoobaSpecError — bundled file hash mismatch, not OpenAPI 3.x, or a REQUIRED_PATHS entry missing.

Attribute logger

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally