modx_assign_property_set
Attach a property set to a MODX element by specifying its ID and class or type, enabling property set assignments for snippets, chunks, templates, plugins, or TVs.
Instructions
Attach a property set to an element. Identify the element with its id + either element_class (e.g. 'modSnippet') or element_type ('snippet'/'chunk'/'template'/'plugin'/'tv').
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": {
"element": "<element>",
"property_set": "<property_set>"
},
"name": "modx_assign_property_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | Yes | Element id. | |
| element_type | No | ||
| property_set | Yes | Property set id. | |
| element_class | No |