Turn a custom field on or off
set_custom_field_enabledTurns one of the project's custom fields on or off, by its id from list_custom_fields, as its switch in Project settings → Custom fields does. When it's off, form_values and Proxy Mail QA for Chrome 0.9.0 and later ignore it, as if it weren't there: the field gets the next custom field that's on, then a standard value, then a guess if the project's guesses setting allows one. To keep a field empty, save a custom field whose value is leave instead. One that's off is still in list_custom_fields (enabled: false) and still counts toward the project's 50. Only when the person asks. Anyone on the project may, unless only its leads change custom fields (locked: true in list_custom_fields); then the change of someone who doesn't lead it (you_lead: false) goes to the leads as a request (status: requested): before calling there, tell the person it goes to the leads, and call only once they say yes.
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": {
"id": "<id>",
"on": "<on>"
},
"name": "set_custom_field_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The custom field to turn on or off. | |
| on | Yes | true to use it; false to ignore it. |