move_organizational_unit
Relocates an Active Directory organizational unit to a new parent while preserving its contents and hierarchy relationships.
Instructions
Move an OU to a new parent.
Relocates OU within domain hierarchy while preserving contents.
Example:
move_organizational_unit(ou_dn="OU=Sales,OU=Old,DC=company,DC=com", new_parent_dn="OU=Departments,DC=company,DC=com")
Maintains OU relationships during move.
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>",
"new_parent_dn": "<new_parent_dn>"
},
"name": "move_organizational_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ou_dn | Yes | OU distinguished name to move | |
| new_parent_dn | Yes | New parent OU distinguished name |