Update Org Custom Fields
ninjaone_update_org_custom_fieldsUpdate custom field values for a single organization, changing only fields in the request body and returning before/after values so changes can be reverted. Requires write mode and confirm: true.
Instructions
Set custom field values on one organization. Only the fields in body change. Returns the values before and after, so a change can be put back. Body (object) per NinjaOne updateNodeAttributeValues_1. Body maps custom field names to values, e.g. {"contractTier": "gold"}. Needs NINJAONE_MODE=write and confirm: true.
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": {
"body": "<body>",
"confirm": "<confirm>"
},
"name": "ninjaone_update_org_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Organization id, or a unique part of its name (case-insensitive). Overrides NINJAONE_ORG_ID. An ambiguous name is refused with the candidates; call ninjaone_list_organizations to see them all. | |
| body | Yes | Request body as NinjaOne documents it for updateNodeAttributeValues_1. Field names are NinjaOne's (camelCase). | |
| confirm | Yes | Must be exactly true. States that this call changes live data. There is no undo from this server. |