rename_file
Change a file's name in Stashcat by specifying the file ID and the new filename including its extension.
Instructions
Renames a file.
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": {
"file_id": "<file_id>",
"new_name": "<new_name>"
},
"name": "rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ID of the file to rename | |
| new_name | Yes | New filename (including extension) |