Pre-funded agent session tunnel
agent_session_openOpens a prepaid $1 USDC session that mints an HMAC-signed Bearer token for high-frequency API calls with atomic balance debits; use direct x402/MPP for single paid calls or read-only checks.
Instructions
[$1.00] Deposit $1.00 USDC once to mint an HMAC-signed Bearer session token (x402s_...) for zero-402 high-frequency API calls with atomic balance debits. Do not use for single paid calls or read-only checks (call any tool directly with x402/MPP). Every call charges $1.00 USDC and mints a fresh x402s_... Bearer session (does not top up prior sessions); ttl_minutes sets expiry and payer_address binds ownership. Persists prepaid meter in SQLite (non-custodial); requires x402/MPP at 30-60 req/min.
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": "agent_session_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl_minutes | No | Session lifetime in minutes (default 60, max 1440) | |
| payer_address | No | EVM wallet address opening the session (0x...) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cached | No | ||
| endpoint | No | ||
| expires_at | No | ||
| session_id | No | ||
| deposited_usd | No | ||
| payer_address | No | ||
| remaining_usd | No | ||
| session_token | No | ||
| schema_version | No | ||
| auth_header_example | No |