Implementation
gradeNot graded
gradeNot graded
page: Every page
search_postsAnswer
Search Joan León's blog posts about web performance, CSS, JavaScript and DevTools. Returns matching posts with their URL and a markdown URL holding the full text.
View tool JSON
{
"name": "search_posts",
"kind": "answer",
"impl": "imperative",
"description": "Search Joan León's blog posts about web performance, CSS, JavaScript and DevTools. Returns matching posts with their URL and a markdown URL holding the full text.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free text matched against titles and descriptions."
},
"lang": {
"type": "string",
"enum": [
"es",
"en"
],
"description": "Language of the posts to search. Defaults to the language of the current page."
},
"limit": {
"type": "number",
"description": "Maximum number of results (default: 10)."
}
},
"required": [
"query"
]
},
"page": "/"
}get_postAnswer
Returns the full markdown content of a single blog post, given its slug. Use search_posts first to find the slug.
View tool JSON
{
"name": "get_post",
"kind": "answer",
"impl": "imperative",
"description": "Returns the full markdown content of a single blog post, given its slug. Use search_posts first to find the slug.",
"inputSchema": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Post slug, for example \"webmcp-static-site-astro\"."
},
"lang": {
"type": "string",
"enum": [
"es",
"en"
],
"description": "Language of the post. Defaults to the language of the current page."
}
},
"required": [
"slug"
]
},
"page": "/"
}