add_credits
Generate a checkout URL to buy AI credits. Complete payment in your browser to add credits to your account.
Instructions
Open a checkout link to purchase Datapoint AI credits.
Returns a hosted checkout URL. The user completes payment in their browser; credits land on their account once payment confirms.
Args: product_id: Optional product identifier. Omit to use the default credit bundle configured on the server.
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": "add_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |