filesfm_rename_file
Rename an editable, unlocked file. No overwrite; may change its extension. Requires files:write and account permissions. Inspect the destination before retrying an uncertain result.
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_hash": "<file_hash>",
"file_name": "<file_name>"
},
"name": "filesfm_rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_hash | Yes | ||
| file_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| status | Yes | ||
| replayed | No | True when this is the stored result of an earlier call with the same idempotency_key. |