update_field_plugin
Updates an existing field plugin with new JS source, name, options, or space assignments. Choose context: space, org, or partner.
Instructions
Updates an existing field plugin in the specified context.
Args: field_type_id: Numeric ID of the field plugin. body: Updated uncompiled JS source. compiled_body: Updated compiled JS source. name: Optional new name (must still be unique). options: Optional config options for the plugin. space_ids: Optional space assignment list. context: 'space', 'org', or 'partner'.
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": {
"field_type_id": "<field_type_id>"
},
"name": "update_field_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_type_id | Yes | Numeric ID of the field plugin | |
| body | No | Updated uncompiled JS source | |
| compiled_body | No | Updated compiled JS source | |
| name | No | Optional new name (must still be unique) | |
| options | No | Optional config options for the plugin | |
| space_ids | No | Optional space assignment list | |
| context | No | Context: 'space', 'org', or 'partner' | space |