Organize Documents by Content
file_organizer_organize_by_contentGroup files by content analysis—topic folders for documents, project folders across types. Preview changes using dry_run before moving files.
Instructions
Organize files based on content analysis. strategy='topic' groups documents (PDF, DOCX, TXT, MD, RTF, ODT) into topic-based folders. strategy='project' groups files across all types (documents, code, images) into detected project folders using shared name tokens, content terms, and identifiers. Use dry_run=true to preview changes.
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": {
"source_dir": "<source_dir>",
"target_dir": "<target_dir>"
},
"name": "file_organizer_organize_by_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview changes without moving files | |
| strategy | No | 'topic' groups documents by detected topic; 'project' groups files across types into detected project folders | topic |
| recursive | No | Scan subdirectories recursively | |
| source_dir | Yes | Full path to the directory containing document files | |
| target_dir | Yes | Full path to the directory where organized documents will be placed | |
| response_format | No | markdown | |
| create_shortcuts | No | Create shortcuts/symlinks for multi-topic documents |