pin_page
Pin or unpin a LeafWiki page by ID or path to control whether it stays highlighted, returning the updated page.
Instructions
Pin or unpin a page.
Args: pinned: Whether the page should be pinned. id: Page identifier, preferred when both selectors are supplied. path: Slash-separated page path.
Returns: JSON-compatible updated page.
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": "pin_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| path | No | ||
| pinned | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||