linkding_upload_asset
Upload a local file as an asset for a specified Linkding bookmark; omit confirm to preview the filename and size before writing.
Instructions
Upload a local file as a bookmark asset. POST multipart field file to /api/bookmarks/<bookmark_id>/assets/upload/. Omit confirm for a dry-run that names the file and its size.
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": {
"bookmark_id": "<bookmark_id>",
"file_path": "<file_path>"
},
"name": "linkding_upload_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. | |
| file_path | Yes | Local file to upload. The request is multipart with one part named file. | |
| bookmark_id | Yes | Bookmark id. |