attach_file
Copy an external file into the Obsidian vault attachments folder, optionally specifying a destination name, so notes can reference it.
Instructions
Copy external file into vault attachments folder
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_path": "<source_path>"
},
"name": "attach_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_name | No | Optional destination filename | |
| source_path | Yes | External file path |