Tool tree
Leuria lets a website offer AI features that run on the visitor's own AI, instead of the site's API keys.
Implementation
gradeNot graded
gradeNot graded
page: Every page
search_docsAnswer
Search the documentation, by words and by meaning. Returns the closest sections: page title, section, link and the passage that matched. Search again with other words if nothing fits.
View tool JSON
{
"name": "search_docs",
"kind": "answer",
"impl": "imperative",
"description": "Search the documentation, by words and by meaning. Returns the closest sections: page title, section, link and the passage that matched. Search again with other words if nothing fits.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "What to look for, in a few words."
}
},
"required": [
"query"
]
},
"page": "/"
}read_pageAnswer
Read a whole documentation page, as Markdown, by its link (from search_docs or list_pages).
View tool JSON
{
"name": "read_page",
"kind": "answer",
"impl": "imperative",
"description": "Read a whole documentation page, as Markdown, by its link (from search_docs or list_pages).",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"type": "string"
}
},
"required": [
"url"
]
},
"page": "/"
}list_pagesAnswer
List the documentation's pages: title, link and summary.
View tool JSON
{
"name": "list_pages",
"kind": "answer",
"impl": "imperative",
"description": "List the documentation's pages: title, link and summary.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}open_pageAction
Open a documentation page on screen for the reader, by its link. A link may end with #section.
View tool JSON
{
"name": "open_page",
"kind": "act",
"impl": "imperative",
"description": "Open a documentation page on screen for the reader, by its link. A link may end with #section.",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"type": "string"
}
},
"required": [
"url"
]
},
"page": "/"
}