Create currency conversion (admin)
specter_create_currency_conversionCreate a currency conversion rate (e.g., 100 gems to 1 gold) with optional fee. Mutates live game config; confirm on staging.
Instructions
Define an exchange rate from one currency to another (e.g. 100 gems → 1 gold). Pass currencies by slug/name; the tool resolves them to the integer ids the API needs. MUTATES live game config — confirm and prefer staging.
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": {
"source": "<source>",
"target": "<target>",
"conversionRate": "<conversionRate>"
},
"name": "specter_create_currency_conversion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source currency slug/name (what the player spends) | |
| target | Yes | Target currency slug/name (what they receive) | |
| isEnabled | No | Default true | |
| projectId | No | ||
| conversionFee | No | Percentage fee 0-100 (default 0) | |
| conversionRate | Yes | Target per 1 source, e.g. 0.01 for 100:1 |