copy_file
Duplicate a note or attachment to a new path in your Obsidian vault without altering existing links. Use it to create copies for templates, backups, or variants while keeping original references intact.
Instructions
Duplicate a note or attachment to a new path (links are not changed).
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": {
"from": "<from>",
"to": "<to>"
},
"name": "copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination path (or folder) | |
| from | Yes | ||
| vault | No | Vault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian. | |
| overwrite | No |