Web APIs
Any web API can be a tool: a podcast directory, your shop’s back end, a weather service. Give Ombro its address and key, and every crew member can use it.
Add an API
Section titled “Add an API”You’ll need the API’s base address and how it expects its key, both from the API’s own docs.
- Open Settings › Tools, choose Add a tool, then Add a web API.
- Give it a short name crews will know it by, such as
podcasts. - Enter its address and key, and choose how the key is sent: as a bearer token (most common), in a header, or in the address.
- Say what it’s for in a line or two. The Lead decides from this when the API helps a brief.
- Optionally, paste how to use it: its paths and what they return.
- Answer Can it change things? and Do GET requests only look things up?
ombro tools add podcasts --api # asks for each detail; the key goes into a hidden promptombro tools edit podcastsombro tools remove podcastsHow crews use it
Section titled “How crews use it”A role gets two tools for each API:
api.<name>.getfor lookups, which always run.api.<name>.requestfor anything else, which follows your approval mode and may wait in Approvals.
A read-only API has one tool that takes any method as a lookup, since some APIs search with POST.
Kept safe
Section titled “Kept safe”- A role names a path, never an address. Calls go only to the API’s own host and path, and redirects aren’t followed.
- Ombro adds the key. No model ever sees it.
- An address that isn’t
httpssends the key unencrypted; the app warns you.
Where to look
Section titled “Where to look”APIs are listed under apis: in ~/.config/ombro/tools.md:
apis: podcasts: url: https://api.podcastlist.example/v2 key: PODCASTS_API_KEY # its name in keys.env; never the value send_key: bearer # bearer, header:<Name> or query:<param> about: Our podcast list. # what it's for how_to: GET /episodes?q=… # optional: its paths class: external # read-only, internal or external max_calls: 30The key itself is in secrets/keys.env. Set or change it with ombro keys set PODCASTS_API_KEY; it’s picked up on the next call, even in a running job.