Set Where You Live and Apply
set_marketsSave your home market and application markets to set date and pay-currency display and to answer work-permit questions per country.
Instructions
Save where the user lives and applies. home (a market key, "UK" not "GB") sets the date format and, while home_currency is unset, the currency pay is shown in. apply_in is every market the user applies in, each asking its own work-permit answers; [] reads as home alone, and a market dropped from it keeps its stored answers. home alone leaves apply_in as stored (before any country is chosen, it applies where the user lives). home_currency is ISO 4217; "" follows home again. Only the fields passed change, all in one save: a refused field (an unknown currency) writes none of them. No field passed reads the current values. Returns {home, apply_in, home_currency (the resolved one), setup}: setup is setup status's form-answer readiness, null when that read fails.
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_markets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| home | No | ||
| apply_in | No | ||
| home_currency | No |