write_favorite
Toggle whether a LeafWiki page is in the signed-in user's favorites by passing its page ID or path and a favorite boolean.
Instructions
Add a page to the signed-in user's favorites, or remove it.
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": {
"page": "<page>",
"favorite": "<favorite>"
},
"name": "write_favorite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page id or path | |
| favorite | Yes |