Detach media from notes
detach-media-from-notesRemoves exact image or sound references from selected note fields without deleting the media file; defaults to dry-run mode.
Instructions
Removes exact image or sound references from selected note fields without deleting the media file. Defaults to dry-run mode.
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": {
"detachments": "<detachments>"
},
"name": "detach-media-from-notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| detachments | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | ||
| errors | Yes | ||
| applied | Yes | ||
| changes | Yes | ||
| changedFieldCount | Yes | ||
| removedReferenceCount | Yes |