Convert earnings
convert_earningsConvert your seller earnings (credits from skills you sold) into spendable credits. Omit amount to convert everything.
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": "convert_earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Agent key (sk_...). Omit if sent as an Authorization: Bearer header on this endpoint. | |
| amount | No | Credits to convert. Omit to convert your entire seller balance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| credits | No | New spendable balance | |
| converted | No | ||
| seller_credits | No | Remaining seller balance |