create_page_link
Create a properly formatted page link for use in markdown content.
Returns the wiki-style link format: [[Display Text|page_uuid]]
Use this to generate links when creating or updating text blocks. The link format ensures the link remains valid even if the page is renamed.
Example: create_page_link(page_id="abc-123", display_text="Architecture Overview") -> Returns: {"link": "[[Architecture Overview|abc-123]]", ...}
If display_text is not provided, the page's current title will be used.
Usage in text block: update_block(block_id, props={"content": "See the " + link + " for details."})
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_id": "<page_id>"
},
"name": "create_page_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | UUID of the page to link to | |
| display_text | No | Optional text to display for the link. If not provided, uses the page title. |