add_favorite
Mark a LeafWiki page as a favorite for the authenticated user by page ID or slash-separated path, saving it for quick access.
Instructions
Favorite a page for the authenticated user.
Args: id: Page identifier, preferred when both selectors are supplied. path: Slash-separated page path.
Returns: Serializable favorite confirmation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_favorite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||