shaarli_links
Search, retrieve, create, update, and delete Shaarli bookmarks with tag and visibility filters; writes require confirmation and support dry-run previews.
Instructions
Search, get, create, update, and delete Shaarli links. Search uses searchterm, searchtags, visibility, offset, and limit. GET /api/v1/links and GET /api/v1/links/{id}. Writes need confirm true and SHAARLI_ALLOW_WRITES=true. PUT /links/{id} replaces the whole link, so update fetches the existing link and merges the fields you pass. Omit confirm for a dry-run preview. Actions: search, get, create, update, delete.
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": {
"action": "<action>"
},
"name": "shaarli_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Link id for get, update, and delete. | |
| url | No | Bookmark URL. Empty creates a note. | |
| tags | No | Tag names. | |
| limit | No | Page size, or all. Links default to 20. Tags and history default to all. | |
| title | No | ||
| action | Yes | Shaarli operation to call. | |
| offset | No | Number of results to skip. Shaarli starts at 0. | |
| 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. | |
| private | No | Store the link as private. | |
| searchtags | No | Tag search, as in the Shaarli UI. | |
| searchterm | No | Full-text search. | |
| visibility | No | all, public, or private. | |
| description | No |