Resolve a Folio link to the page it shows
resolve_folio_urlConvert a pasted Folio URL or /s/ path into the exact page it displays—space home, page, or folder index—so you can read or edit that page and add child pages under its parent path.
Instructions
Turns a Folio URL or path the user pasted into the concrete page it displays: /s/<space> (no /p/) is the SPACE HOME PAGE (its index.md), not "the whole space"; /s/<space>/p/<pageId> is that page; /s/<space>/d/<dir> is the folder's index page. Call it whenever a message contains a Folio link, then read/edit THAT page (its id) and create new pages under parentPathForChildren.
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": {
"url": "<url>"
},
"name": "resolve_folio_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full Folio URL or an app path starting with /s/ |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page id | |
| icon | No | Emoji icon, if the page has one | |
| kind | Yes | Page kind: doc, board, table, form, base, canvas, artifact, pdf or office | |
| note | Yes | Reminder to work within this page | |
| path | Yes | Path relative to the space root | |
| cover | No | Cover image URL, if the page has one | |
| order | Yes | Position among its siblings | |
| space | Yes | Space slug the page belongs to | |
| title | Yes | Page title | |
| status | Yes | Page status | |
| updatedAt | Yes | Last change, ISO timestamp | |
| parentPathForChildren | Yes | Pass as parentPath to create_page to add a child under this page |