set_price_locale
Sets the country and currency for price and stock data in the global configuration, so DigiKey results reflect the chosen locale; change only when the user requests it.
Instructions
Set the country and the currency of the prices and the stock of DigiKey in the global configuration of the user, as the CLI command "datasheet-lens dist --site CZ --currency CZK". Mouser uses the country of the Mouser account, and JLCPCB gives USD. Give one of the two or the two. Change it only when the user asks.
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": "set_price_locale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The country of the prices and the stock: a code of 2 letters, for example CZ, DE or US. Empty: no change. | |
| currency | No | The currency of the prices: a code of 3 letters, for example CZK, EUR or USD. Empty: no change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |