Read blog post
Read the title, headings, and bounded structured content of a published GoVisit blog post, or select one section of the article by its heading anchor.
What it returns
The reader inspects only the currently rendered blog post. It does not fetch other articles; a selected section uses its heading anchor and may report truncation.
For the full current contract and linked context, see the WebMCP manifest and the WebMCP overview.
WebMCP
Input schema
{
"type": "object",
"properties": {
"section": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Optional heading anchor identifying one published section."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"content": {
"type": "array"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"content",
"truncated"
]
}
},
"required": [
"data"
]
}This tool is available only through WebMCP on GoVisit pages that register it.
const modelContext = document.modelContext;
if (!modelContext) throw new Error("This browser does not expose WebMCP on this page.");
const tool = (await modelContext.getTools()).find((entry) => entry.name === 'get_blog_post');
if (!tool) throw new Error('get_blog_post is not registered for the current page.');
const result = await modelContext.executeTool(tool, {});
console.log(result);
Registration is page-scoped. Check getTools() before calling.