Tool Catalog

A tool is any HTTP API an agent reaches through the gateway. Pick from the curated connector library (base URL + auth pre-filled) or add any HTTP API as a custom tool. Each one is gated, and its key stays in Regent’s vault.

A tool is callable only when it has both a catalog entry (routing, added below) and a vaulted key (the secret, connected by a human at /connect/gateway). Matched by name.

How to add a tool

  1. Dashboard → Connect → Set up Cloud Gateway → Add a tool → pick a connector (or Custom API) → Add. Then Connect a key and paste the secret.
  2. Over MCP → add_gateway_tool { "name": "slack", "base_url": "https://slack.com/api" } (Admin MCP), then a human vaults the key.

Money tools bind a mandate (mandate_id) so their spend is enforced; everything is still subject to your Cedar policy.

Built-in

ToolUse case
pay (custody)Pay from the agent’s Custodian wallet — on-chain, KMS co-signed by Regent, checked against the mandate. “Pay this supplier 5 USDC.” Blocked over-limit or by policy before any signing.

Payments

ToolUse case
StripeAgent pays an invoice or issues a refund — capped by a $X/tx mandate; over-limit charges are denied, every charge is anchored with its decision id.
Modern TreasuryInitiate an ACH / bank payment — spend-limited + audited; escalate large transfers to a human.
Bank Core (generic)Your internal bank-core API — instance-specific host; the credential is vaulted, egress is locked to it.
AgentcardAgent shops at Amazon, Walmart, Target… with the owner’s own card stored at Agentcard — the gate decides on the merchant’s cart total (its ceiling, in USD) before the cart is confirmed; the shop tool can never confirm. How it works →
x402Agent pays a web resource that answers 402 — the gate decides on the 402’s own figures (USDC, test networks), a connected wallet signs exactly those, the transfer is read from the chain before the decision closes. How it works →

Comms

ToolUse case
SlackAgent posts a status to #ops — Cedar can restrict which channels; rate limits stop a loop from flooding.
TwilioSend an SMS/voice alert — rate-limited so a hijacked agent can’t blast messages; token never leaves the vault.
SendGridTransactional email — gated + audited; policy can require an approved template.
AgentMailGive the agent its own inbox (send + receive) — policy allowlists recipient domains, rate-limits sends, and audits every message.

CRM & Sales

ToolUse case
SalesforceRead/write contacts, opportunities, cases — object-level policy: “deny delete on Contact.”
HubSpotLog an activity or update a deal — the OAuth token is vaulted; the agent only gets scoped writes.

Compliance

ToolUse case
ChainalysisScreen a wallet/address for sanctions before a payout — the result is a verified fact your policy can key on.
Persona · OnfidoRun identity verification — every check is audited; keys never touch the agent.

Data

ToolUse case
Supabase (PostgREST)Query/write your DB over HTTP — table-level control via policy; instance host is per-tenant.
HasuraGraphQL over Postgres — the admin secret is vaulted; the agent can only run allowed operations.

Docs & Storage

ToolUse case
DocuSignSend a document for signature — scoped, audited; escalate high-value envelopes.
Box · Google DriveFetch or store a file — scoped access, credential vaulted, responses can be redacted before the agent sees them.

Dev & Workflow

ToolUse case
GitHubOpen an issue or a PR — the token never touches the agent; policy can restrict repos.
Linear · NotionCreate issues / update docs — scoped writes, full audit trail.

AI providers

ToolUse case
OpenAI · AnthropicCall an LLM with a vaulted key — rate-limited, and the key can’t leak through the agent.

Observability

ToolUse case
DatadogPush a metric or query monitors — read-only can be enforced; API key stays vaulted.

Custom tools

A custom tool whose base_url points at a library payment provider’s host (for example https://api.stripe.com added by hand) is treated as that provider: a mandate is required, the operations map and the response redaction apply. Naming the connector is not what makes a tool money; the host it talks to is.

Any HTTP API works: give it a base URL and a bearer token. Use a bare base URL (https://api.example.com, not .../v1) — the agent supplies the path. Add it as Custom API in the dashboard or via add_gateway_tool.

⚠️

The tool name in the catalog and the vaulted-key name must match exactly. Add the tool first, then connect its key.

The purchase currency

The gate checks a payment against the agent’s budget in the payment’s currency, and the currency comes from the rail, never from the agent. A money tool states where it is read:

SettingMeaning
currency: "KZT"fixed — every payment through this tool is in KZT (Freedom Pay, a single-currency processor)
currency_from: "body:currency"the provider’s own request field names it (Stripe’s currency); the fixed currency is the fallback when the field is absent
currency_from: "lookup:currency"the provider’s price lookup answers with it (a cart total that carries its currency)

A money write whose currency cannot be read is refused (CURRENCY_UNRESOLVED), and facts an agent sends (amount, currency, mandate_id) are dropped before the decision.

Amounts a provider counts in minor units (Stripe: 1000 is $10.00, but ¥1 000 and 1.000 KWD) are divided by the purchase currency’s own decimals from the currency registry, not by a fixed 100: a tool declared with amount_divisor: 100 and a rail-named currency, or with amount_in_minor_units: true, follows the currency. A fixed amount_divisor on a tool without a rail-named currency is used as written. The Stripe settlement webhook reads the same way, and a charge.refunded event settles what was not refunded (a $5 refund on $50 leaves $45 settled; a full refund leaves 0).

The counterparty

Caps per seller in a mandate are checked against the counterparty the rail names:

SettingMeaning
payee_from: "fixed:arbuz.kz"a single-merchant tool: every payment goes to that seller
payee_from: "body:payTo"the request’s own field is the destination the provider pays (an x402 payTo, a custody to address, a Stripe Connect destination)
payee_from: "lookup:merchant"the provider’s amount lookup names the merchant per item

The gateway puts it in the decision as payee with payee_source: rail and signs the decision request with its own key, so the gate records the seller as the rail’s word even for an agent that cannot sign (key_custody: pep in the receipt). A payee the agent sends is dropped. A tool without payee_from names no counterparty, and a direct SDK call’s payee is recorded as the agent’s word (payee_source: agent).

What each Stripe endpoint does

A payment connector is one tool with many endpoints, and they do not all move money the same way. For Stripe the gateway carries a built-in operations map (20.10.2026): per path, what the call does, where its amount is and who the counterparty is. The decision context carries op and payee_kind, and both ride into the token and the receipt.

PathKindAmountCounterparty (payee_kind)
POST v1/payment_intents, v1/chargeschargeamounttransfer_data[destination] if present (money leaves to a connected account, destination), else customer (customer); a charge may name none
POST v1/payment_intents/{id}/confirm, …/capture, v1/charges/{id}/capturechargeread from the object (GET it first)
POST v1/payment_intents/{id}chargeamount when the update carries one; without it the call moves no money. With one, the intent’s earlier decision (read from its metadata.decision_id) is voided once Stripe accepted the update, so one payment never holds two reservationsas above
POST v1/checkout/sessionschargeΣ line_items[i][price_data][unit_amount] × quantity; a price id is looked up (GET v1/prices/{id}, its currency is the charge’s); a metered price fails closedcustomer
POST v1/payment_linksofferΣ over line_items (prices looked up); decided on the total, settled at nothing — the money moves when a customer pays the link
POST v1/quotesofferΣ over line_items (prices looked up); settled at nothingcustomer
POST v1/quotes/{id}/acceptchargethe quote’s amount_total; settled at nothing (the invoice it raises settles)the quote’s customer
POST v1/subscriptionschargeΣ over items (prices looked up): the first period; settled at nothing. Stripe bills later cycles by its own invoices, which this map does not decide per cyclecustomer
POST v1/invoices/{id}/paychargethe invoice’s amount_duethe invoice’s customer
POST v1/invoices/{id}/finalizechargethe invoice’s amount_due; settled at nothing (finalizing charges it when collection is automatic, sends it otherwise)the invoice’s customer
POST v1/transferstransferamountdestination, required (destination)
POST v1/payoutspayoutamountpayout (the owner’s own bank)
POST v1/refundsrefundamount, counted as the agent’s own spend (the refunded charge stays counted: refunding one’s own payment never nets a refund cap to zero)the customer of the payment it returns, read from payment_intent or charge (customer) — so a cap per customer holds for money going back, not only for money taken; a guest payment has none
POST v1/credit_notesrefundamountthe invoice’s customer
POST v1/customers/{id}/balance_transactionscreditamount, sign dropped (Stripe writes a credit as a negative amount)the customer in the path
POST v1/couponsdiscountamount_off when set, decided like a spend of that amount and settled at nothing. A percent_off coupon has no amount: it is decided as a discount with percent_off and duration in the context, for a policy to refuse (percent_off == "100")
POST v1/disputes/{id}/closerefundthe dispute’s amount (closing accepts the loss)
POST v1/disputes/{id} (evidence)disputedecided and logged, no amount
POST v1/invoices/{id}/void, …/mark_uncollectible, v1/credit_notes/{id}/void, v1/quotes/{id}/cancel, v1/payment_intents/{id}/cancel, v1/checkout/sessions/{id}/expire; DELETE v1/subscriptions/{id}cancela write-off or a cancellation: no amount, no mandate, op: cancel on the decision for the policy to gate
POST v1/customers, payment_methods, setup_intents, products, prices, tax_rates, promotion_codes, invoiceitems, webhook_endpoints, files, tokens; v1/invoices (draft), v1/invoices/{id} (update, send), v1/subscriptions/{id} (update), v1/quotes/{id} (update, finalize), v1/payment_links/{id}, v1/coupons/{id}non_moneydecided and logged, no amount, no mandate
anything else (v1/subscription_schedules, Treasury v2 outbound payments)flat amount or AMOUNT_UNRESOLVED

Raw card data is refused on every path before any of this runs (CARD_DATA_NOT_ALLOWED): a card[number], cvc or expiry field on any tool, and on a money tool any value in the body that has the shape of a card number (13–19 digits that pass the Luhn check). The refusal names the field, never the value. Stripe’s own tokens (pm_…, tok_…, pm_card_visa) pass.

Where Stripe’s own answer names what settled (a confirmed PaymentIntent’s amount_received, a refund’s amount, status succeeded), the gateway settles the decision from it at once; the webhook, when it comes, reconciles against that figure. Minor units follow the currency’s decimals here too. A custom tool may carry its own operations list with the same fields (match, kind, amount, amount_abs, payee, payee_kind, payee_required, settle_from_response, settle_zero, context_fields). Kinds that move money: charge, transfer, payout, refund, credit, discount, offer; cancel, dispute and non_money move none but the first two keep their name on the decision (op).

Together with Stripe’s own approval rules. When the key you vaulted is an agent-tagged key, Stripe may pause an action under one of its approval rules after Regent allowed it. The gateway answers 202 PROVIDER_APPROVAL_PENDING with Stripe’s own code, its approval_request_id (apreq_…, also in X-Regent-Provider-Approval-Id) and request log: the agent must not retry (Stripe runs the action itself when a reviewer approves), the decision’s hold stays for the settlement event; a rejected or expired request is learnt by asking Stripe and the decision voided. A rule that blocks is an ordinary refusal (action_blocked, passed through; the hold is released). See Your own Stripe account.

A configured source that cannot be read fails closed, like the amount: a body: field the request does not carry, or a lookup: the provider answers without the merchant, refuses the money write (PAYEE_UNRESOLVED) rather than recording it nameless — a cap per seller can never be side-stepped by leaving the seller out.