apply_custom_field
Apply a custom field to a specific object or globally by setting ObjectId to 0. Global application overrides existing object-specific assignments.
Instructions
Apply a custom field to a specific object or globally. The CF's LookupType determines what kind of object it can apply to (e.g. a ticket CF applies to queues). Use ObjectId 0 to apply globally. Note: applying globally removes all specific object applications.
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>",
"ObjectId": "<ObjectId>"
},
"name": "apply_custom_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Custom field ID | |
| ObjectId | Yes | ID of the object to apply to (0 for global) |