fields_update_settings
Updates cvrt-fields settings and manages the encrypted write-only GitHub token: set a new token, leave it blank to keep the stored one, or clear it, then returns the updated settings.
Instructions
Update cvrt-fields settings. github_token is write-only and stored encrypted; a blank or omitted token keeps the stored one. clear_github_token: true deletes it. Returns the settings as fields_get_settings does (token as { set }).
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": {
"site": "<site>"
},
"name": "fields_update_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| github_token | No | GitHub token for plugin updates; write-only, stored encrypted, blank keeps the stored one | |
| clear_github_token | No | true deletes the stored token (wins over github_token) |