app_page
Fetches HTML for a SingleStore MCP server app page and omits shared head, build, and vendor blocks the caller already has, reducing payload while returning current views after restart.
Instructions
HTML of one of this server's app pages (the workspace loads its views with this).
Tool results aren't cached by hosts, unlike resources/read, so views pick
up changes right after restart_server.
``head``: the caller's shared-head hash (its ``s2-head`` meta); when it matches,
the page comes without the shared head (``head_omitted``; the caller puts its own
copy in at SHARED_HEAD_MARKER). ``build``: the build the caller already has; when
it matches, only ``unchanged`` comes back. ``vendors``: vendor blocks the caller
already has (name -> data-s2-hash, e.g. CodeMirror from the SQL Editor's page);
matching ones are left out (``vendors_omitted``; the caller puts its copy in at
each VENDOR_HAVE_MARKER).
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": {
"uri": "<uri>"
},
"name": "app_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | ||
| head | No | ||
| build | No | ||
| vendors | No |