modify_organizational_unit
Update organizational unit attributes such as description, managed by, and location details by specifying the OU distinguished name and attribute values; returns an error if the OU is not found.
Instructions
Modify OU attributes and properties.
Updates OU information including description, managed by, and location details.
Example:
modify_organizational_unit(ou_dn="OU=Sales,DC=company,DC=com", attributes={"description": "Updated description"})
Returns an error if the OU is not found.
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": {
"ou_dn": "<ou_dn>",
"attributes": "<attributes>"
},
"name": "modify_organizational_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ou_dn | Yes | OU distinguished name to modify | |
| attributes | Yes | Dictionary of attributes to modify |