Rename a Pitchlane folder
rename_folderRename a Pitchlane folder. It keeps its id and its campaigns. Refused when the user already has another folder with that name (folder_name_taken). To rename a campaign, not a folder, use update_campaign with 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": {
"folder_id": "<folder_id>",
"name": "<name>"
},
"name": "rename_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The folder's new name, 1 to 100 characters, e.g. `Q1 outbound`. The user cannot have two folders with the same name. | |
| folder_id | Yes | The folder's id, as list_folders returns it. |