exchange_api_key
Exchange an API key for a session
Exchanges a durable lasoak_ API key for a short-lived id_token (one hour) plus a refresh_token, and returns an auth_url to hand your human so they can watch what you do. This is the first call an agent makes. The reply's id_token authenticates every other endpoint here.
If you have no key, your human creates one at https://laso.finance/agent/dashboard — there is no other way to obtain one.
Free.
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": {
"api_key": "<api_key>"
},
"name": "exchange_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your `lasoak_` API key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||