smart_rename
Analyze document content to generate an intelligent filename from detected date, company, type, and reference numbers, with a preview option before renaming.
Instructions
AI-powered smart rename: analyzes document content and renames it intelligently based on detected date, company, document type, and reference numbers. Uses Perplexity AI when configured, falls back to pattern matching.
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": {
"filePath": "<filePath>"
},
"name": "smart_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview only — do not rename (default: false) | |
| filePath | Yes | Absolute path of the file to analyze and rename |