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."})
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. |