x402_agentid_post_v1_session
Mint a verifiable HMAC-signed bearer session token for AI agents, binding it to the payer wallet and transaction hash so anyone can verify its signature, expiry, and payment.
Instructions
agentid — Mint verifiable signed session tokens for AI agents. POST /v1/session ($0.001) issues an HMAC-signed bearer token; because minting is paid, the session is bound on-chain to the payer wallet + tx hash. GET /v1/session/{sid} and POST /v1/verify are free — anyone can verify a token's signature, expiry, and bound payment. [POST /v1/session] $0.01 USDC on eip155:8453+137+42161+480. Example: /v1/session — body: {label?, ttl_hours?, agent_url?}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402_agentid_post_v1_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT/PATCH/DELETE | |
| query | No | Query parameters, e.g. {base:'USD', quote:'EUR'} | |
| restart | No | Explicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete. | |
| operationId | No | Durable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments. |