Change or add the trial's site
proxylang_change_siteUse when the trial was started for the wrong website (action "move": the old site stops), or the tag must also work on a test or staging site (action "add": both work). Same agent_token, script tag, claim_url and free words; all sites share one limit. Not needed for localhost: use localhost_script_tag.
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": {
"agent_token": "<agent_token>",
"domain": "<domain>"
},
"name": "proxylang_change_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | "move" (default): replace the site. "add": keep the site and also allow this test site (up to 3). | |
| domain | Yes | The other website hostname, e.g. "test.example.com". | |
| agent_token | Yes | The agent_token from proxylang_start. |