suggest_slug
Generate a unique slug from a title, checking parent and current pages to avoid conflicts in LeafWiki.
Instructions
Suggest an available slug for a title.
Args: title: Title from which to derive a slug. parent_id: Parent used to determine availability. current_id: Existing page to exclude from conflicts.
Returns: Slug suggestion returned by LeafWiki.
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": {
"title": "<title>"
},
"name": "suggest_slug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| parent_id | No | ||
| current_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||