Rename object
renameRename an application group, application, category, edit form, view page or control. It changes only the displayed name — never the identifier (dbName), which is referenced from scripts, JavaScript, print templates and external functions and must be changed through the implementation model instead. Use the multilingual format name#en:name to make the name bilingual, for example Nastavení#en:Settings. Ids come from get_model. An application group with a single application of the same name and no separator (separators are not part of the model) is renamed together with it, and vice versa. Portlet titles and favorite items of all users follow the new name of a view page control or view page. Controls without a name (Title, Tab, Space; RichText and History in an edit form; Email on a view page) are rejected — the caption of Title, Tab and RichText is changed through 'text' with write_model.
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": {
"type": "<type>",
"id": "<id>",
"name": "<name>"
},
"name": "rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the object, as returned by get_model. | |
| name | Yes | New displayed name. Multilingual format: Nastavení#en:Settings. | |
| type | Yes | Object type: appgroup, app, category, form, viewpage, formcontrol (edit form control) or viewpagecontrol (view page control). |