patchGlobalCustomFields
Replaces all global Custom Fields for a resource type and target type, deleting any field omitted from the request. Read the current list first and preview changes with dry_run before committing.
Instructions
Replaces the entire list of global Custom Fields for one resource type and target type: fields missing from requestBody are deleted, not merged. Read the current list with getGlobalCustomFields first and send every field you want to keep. Effect: irreversible — data removed or overwritten by this call cannot be recovered through the API. Tip: set dry_run: true first to validate the arguments and preview the exact request without sending it to Polarion. The executor returns this preview as normal text, and as structured content when the tool declares an output schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, validates the request and returns the exact request that would be sent to Polarion — with the Authorization header redacted and any binary payload summarized by byte length — without actually sending it. | |
| targetType | Yes | The configured subtype for this enumeration or custom field (e.g. `requirement` for a Work Item type). Use `~` (without quotes) when the configuration applies to every subtype. | |
| requestBody | Yes | Custom Fields Body | |
| resourceType | Yes | The Resource Type. |