restore_profile
Restore a deleted profile from the recycle bin using the backup kept there; recovery is refused when a profile with the same name already exists, preventing overwrite of new data.
Instructions
从回收站恢复档案。
何时调用:用户删除档案后又想找回时。恢复的是回收站中最新一份备份; 目标位置已存在同名档案时拒绝恢复(防覆盖新数据)。
Args: profile_name: 要恢复的档案名(用 list_trash 查看可恢复项)
Returns: 恢复结果 + 档案摘要。
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": {
"profile_name": "<profile_name>"
},
"name": "restore_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |