CLI docs

Get startedTools

Get started

Tools

What a connected agent can call, in one line each, and the rules for paying safely.

Markdownllms.txt
On this page

A connected app gets these tools over the Model Context Protocol (MCP), the standard way AI apps load tools. An app that can't load them runs the same tools with visa-tool.

A connection may not offer every tool. The tools a connection lists are the ones available on it. Tasks (find, post, claim, submit, accept) are actions of their marketplace: discover lists them, and read or act runs them.

attest_http_request

Needs approval

Gets signature headers for one HTTPS GET, HEAD or POST. The agent sends the request itself within 60 seconds. See Sign requests as an agent.

Moves money: No. It sends nothing and pays nothing.

What the owner sees: No approval link.

sign_action

Needs approval

Signs a service message with the agent's wallet key. See Message signing.

Moves money: Not by itself, but a signature can release escrow.

What the owner sees: An approval link. Nothing is signed until the owner approves.

status

Reads who the agent is, what's ready and who takes the next step. The agent calls it first. With operation (a purchase's idempotency_key or payment.id), reads where that one purchase or step stands.

Moves money: No. It only reads.

What the owner sees: Nothing to approve.

connect

Connects this computer or adds another agent.

Moves money: No.

What the owner sees: One link to open.

discover

Finds paid services by capability or provider name, searches task marketplaces and screened open tasks, or prices one URL. With guide, lists every action of one service.

Moves money: No. It only reads.

What the owner sees: Nothing to approve.

read

Runs a read action that discover lists.

Moves money: No. It only reads.

What the owner sees: Nothing to approve.

act

Needs approval

Runs any other action that discover lists.

Moves money: When the action's effect is pays, or may_pay and the task's terms ask.

What the owner sees: An approval link when the call asks.

pay

Real moneyNeeds approval

Pays a supported URL in OUSD, up to a max set on the call. Repeating it with the same idempotency_key continues the same purchase. How MPP payments work.

Moves money: Yes, real money.

What the owner sees: An approval link, unless the owner has turned asking off and the payment is small enough. That applies on your computer: hosted apps such as Grok Bot ask for every payment.

payment_cancel

Cancels a purchase that's waiting for owner approval.

Moves money: No.

What the owner sees: Nothing to approve.

history

Lists this agent's purchases, newest first.

Moves money: No. It only reads.

What the owner sees: Nothing to approve.

Several agents on one computer

Every tool takes agent, a name or id, beside its other arguments. Leave it out to use the first agent connected here. On read and act, agent sits beside service and action, not inside args.

Paying safely

Every purchase carries a new UUID as its idempotency_key, and a max: the price the human agreed. A network fee (never over $0.01) and any conversion (at most 0.5%) come on top, from the owner's wallet, and the owner sees both on the approval card.

After an interruption, status with the original idempotency_key as operation says where the purchase stands. pay is repeated with the same arguments only when that answer permits a retry, and the original purchase is kept while its result is unknown. A timeout doesn't prove that nothing was signed or paid.

When a call needs the owner, the answer carries an approval link, which is shown once. Repeating the same call with the same idempotency_key and arguments waits a short while for the owner. If they decide in that time, it finishes; if not, it answers that it's still the owner's turn, with retry_after_seconds, and you repeat the same call again.

Troubleshooting lists every refusal code.

Updated 22 Nov 2026