Suggest links
suggest_linksSuggests existing wiki pages to link to from draft text using semantic similarity, preventing orphan pages.
Instructions
Given draft text (a page you're writing), return existing pages it should link to, by semantic similarity. Use while authoring to wire a new page into the knowledge base instead of leaving it an orphan. Requires a configured embedder.
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": {
"text": "<text>"
},
"name": "suggest_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | draft text to find link targets for | |
| limit | No | max suggestions (default 10) | |
| space_id | No | optional space id to restrict suggestions to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suggestions | Yes |