rename a sync project
projects_renameRename an existing project when the user explicitly requests it; only the name changes, while visibility, owner, media, and generations stay unchanged.
Instructions
Rename one existing project you can access in the current organization; only the name changes, while visibility, owner, media and generations stay as they are. Use it only when the user explicitly asks to rename that project, never because its name or workflow matches the request or its editor is open; new work gets a new project from projects_create instead. Always pass projectIntent=explicit, including for a project you just created for this request; a rename without it can be refused with PROJECT_INTENT_REQUIRED. A missing, deleted or inaccessible project returns a 404 error. Returns the project's id and new name.
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": {
"projectId": "<projectId>",
"name": "<name>"
},
"name": "projects_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New project name, up to 255 characters. | |
| projectId | Yes | Project to rename (UUID), from projects_list, or from projects_create for the project just made for this request. | |
| projectIntent | No | Set to explicit whenever you pass projectId: the user asked to rename this project, selected it in the interface, or it is the project just created for this request. Never infer it from a matching project name, workflow name or open editor. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||