prepare_paid_verification
Quote a sponsored paid verification of an x402 service.
You pay the service once from your own wallet (Base USDC, <= $1; funds go
to its payTo). Sign the returned `typed_data` (EIP-712), then call
`execute_paid_verification` before `valid_before`. We never sign or hold funds.
Auth: API key from POST https://agent-tools.cloud/api/v1/keys, as the
`Authorization: Bearer` header or `api_key`.
Args:
slug: Service slug from `search` / `get`.
payer: 0x address of the wallet that will sign and pay.
api_key: Optional if the Authorization header is sent.
Returns:
{ id, amount_usd, pay_to, valid_before, typed_data, ... } or { error, message }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"payer": "<payer>"
},
"name": "prepare_paid_verification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Service slug from `search` / `get`. | |
| payer | Yes | 0x address of the wallet that will sign and pay. | |
| api_key | No | Optional if the Authorization header is sent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||