Pre-funded agent session tunnel
open_agent_sessionMints a prepaid $1.00 USDC-backed Bearer session token for Solana or Base, letting subsequent tool calls skip per-call signing; set optional TTL (5–43200 minutes).
Instructions
Mint a prepaid x402s_... Bearer session token backed by a $1.00 USDC deposit (Solana or Base) so subsequent tool calls skip per-call signing. Pass optional ttl_minutes (range 5-43200; default 43200 = 30 days). Returns session_token, balance_usd, and expires_at. Inspect balance later with get_agent_session_status (sessions auto-expire; no close call needed). Do not use for single read calls (call tools directly). Requires HTTP 402 payment ($1.00 USDC).
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": "open_agent_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl_minutes | No | Session lifetime in minutes (default 43200 = 30 days, range 5-43200) | |
| 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 |