Rename entity
rename_entityRename a document, document group, template, or template group by providing its ID and new name. Auto-detects entity type.
Instructions
Rename a document, document group, template, or template group.
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": {
"entity_id": "<entity_id>",
"new_name": "<new_name>"
},
"name": "rename_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New name to apply | |
| entity_id | Yes | ID of the entity to rename | |
| entity_type | No | Entity type. Optional — all four types are auto-detected (document_group → template_group → template → document). Provide explicitly to skip detection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New name that was applied | |
| entity_id | Yes | ID of the renamed entity | |
| entity_type | Yes | Type of the renamed entity: document, document_group, template, or template_group |