create_session
Create a scoped session with allowed hosts, total budget, per-call cap, and expiry; returns a token that binds an agent to those payment limits.
Instructions
Create a scoped session: allowed hosts, a total budget, a per-call cap, and an expiry. Returns a token that binds an agent to that scope.
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": {
"hosts": "<hosts>",
"budgetUsd": "<budgetUsd>",
"ttl": "<ttl>"
},
"name": "create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | Yes | lifetime, e.g. 90, 30m, 2h, 1d | |
| hosts | Yes | hostnames this session may pay, e.g. inference.aeron.sh | |
| budgetUsd | Yes | total USD this session may spend | |
| maxPerCallUsd | No |