OpenAPI Tools

Omegon can turn REST APIs into agent-callable tools from OpenAPI JSON or YAML. Add a project-local .omegon/openapi.toml, restart the session, and matching operations become structured tools alongside the built-in file, memory, search, and lifecycle tools.

Configuration

[linear]
spec = "api/linear.openapi.yaml"
auth = "bearer"
secret = "LINEAR_API_KEY"
read_only = true

[internal]
spec = "https://example.com/openapi.json"
auth = "X-API-Key"
secret = "INTERNAL_API_KEY"
base_url_override = "https://staging.example.com"
FieldBehavior
specLocal JSON/YAML path resolved from the project root, or an http(s) URL fetched at startup.
authbearer, basic, or a custom header name.
secretEnvironment variable containing the credential value.
base_url_overrideOptional replacement for the OpenAPI server URL.
read_onlyWhen true, only GET operations become tools.

Generated Tools

Safety

Treat OpenAPI tools like production API access. Use scoped API keys, prefer read_only = true for inspection-only integrations, and do not store raw credentials in .omegon/openapi.toml. The config parser accepts allow and confirm fields for future policy work, but current enforcement is limited to read_only.

When to Use This