file_document
Automatically classify, place, and tag a DEVONthink record for efficient inbox triage. Preview the action with a dry run before committing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Auto-classify, place and tag a record. Dry-run by default. When to use: - Inbox triage: a new record needs to be filed. - The user trusts DEVONthink's AI classifier and wants it applied. Don't use for: - Bulk reorganization across many records -> use `bulk_apply`. - Manual override of destination -> set `destination_hint`. Path format for `destination_hint`: - The first segment of the path MUST be the name of an open DEVONthink database. Example: `/Inbox/MyGroup`, NOT `/MyGroup`. - Use `list_databases` first to discover open database names. - Missing groups along the path are auto-created. Safety: - `dry_run` defaults to true. Always preview before applying. - Audit log records before-state for selective undo. - To apply, run twice: first with dry_run=true to get a preview_token in the audit_id, then with dry_run=false + confirm_token=<the audit_id> to commit. Examples: - {"record_uuid": "ABCD-...", "dry_run": true} - {"record_uuid": "ABCD-...", "dry_run": false, "confirm_token": "..."} - {"record_uuid": "ABCD-...", "dry_run": true, "destination_hint": "/Inbox/Triage"} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| success | Yes | ||
| audit_id | No | ||
| warnings | No | ||
| error_code | No | ||
| error_message | No | ||
| recovery_hint | No |