agent_session
Mint a single-use session code to authenticate an agent over voice or HTTPS using wallet identity and on-chain attestation on Base mainnet.
Instructions
Mint a CallAuth402 agent session — bridges wallet identity to voice or HTTPS channels with EIP-712 verification and on-chain attestation on Base mainnet. Returns a single-use 6-digit session code, expiration timestamp, and the on-chain attestation transaction hash. Costs $0.10 USDC per call. Settled on Base mainnet from your wallet. Use this when an agent needs to authenticate itself to another agent or service via a voice call or HTTPS handshake.
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": {
"wallet": "<wallet>",
"channel": "<channel>"
},
"name": "agent_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | EVM wallet address requesting the session | |
| channel | Yes | Target channel for session redemption | |
| ttl_seconds | No | Session validity in seconds (default 900 = 15 min) |