{"ok":true,"site":{"host":"agentak.dev","url":"https://agentak.dev/","type":"live","desc":"Add a browser-native AI agent to any page. Use direct or on-device models, typed tools, and tools published by the page through WebMCP.","tools":[{"name":"search_docs","kind":"answer","impl":"imperative","description":"Search pages and sections in Agentak. Returns ranked matches with previews, route paths and optional heading anchors. Use `read_page` to read a result.","title":"Search documentation","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Search terms, e.g. 'deploy to vercel' or 'defineNitroPlugin'."},"limit":{"type":"integer","description":"Maximum number of results (1-50, default 10).","minimum":1,"maximum":50}},"required":["query"]},"outputSchema":{"type":"object","properties":{"query":{"type":"string","description":"The query as searched, trimmed."},"count":{"type":"integer","description":"Number of results returned, at most `limit`."},"results":{"type":"array","description":"Ranked matches, best first.","items":{"type":"object","properties":{"title":{"type":"string","description":"Title of the matched page or section."},"breadcrumb":{"type":"string","description":"Ancestor headings of the matched section, `>`-separated; absent on a page-level hit."},"path":{"type":"string","description":"Route path of the page, e.g. `/guide/deploy` — `read_page`'s and `navigate`'s `path`."},"hash":{"type":"string","description":"Anchor of the matched heading, e.g. `#vercel` — `navigate`'s `hash`; absent on a page-level hit."},"preview":{"type":"string","description":"Excerpt of the section's text; an empty string when it has none."}},"required":["title","path","preview"],"additionalProperties":false}}},"required":["query","count","results"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/getting-started","/agents/pi/webmcp","/extension","/agents/pi","/agents/custom"]},{"name":"list_pages","kind":"answer","impl":"imperative","description":"List pages in the documentation navigation with titles, paths, URLs and available descriptions. Use for browsing; use `search_docs` for a specific topic.","title":"List documentation pages","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{}},"outputSchema":{"type":"object","properties":{"site":{"type":"object","properties":{"name":{"type":"string","description":"Site name."},"description":{"type":"string","description":"Site description."}},"additionalProperties":false},"count":{"type":"integer","description":"Number of pages listed."},"pages":{"type":"array","description":"Every page in the navigation, in navigation order.","items":{"type":"object","properties":{"title":{"type":"string","description":"Page title."},"path":{"type":"string","description":"Route path of the page, e.g. `/guide/deploy` — `read_page`'s and `navigate`'s `path`."},"description":{"type":"string","description":"Page description, when the navigation entry carries one."},"url":{"type":"string","description":"Absolute URL of the page."}},"required":["title","path","url"],"additionalProperties":false}}},"required":["site","count","pages"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/getting-started","/agents/pi/webmcp","/extension","/agents/pi","/agents/custom"]},{"name":"get_project_info","kind":"answer","impl":"imperative","description":"Get project metadata and links: website, source repository, issues, releases, community, `llms.txt` bundles and versions.","title":"Get project info and links","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{}},"outputSchema":{"type":"object","properties":{"site":{"type":"object","properties":{"name":{"type":"string","description":"Site name."},"description":{"type":"string","description":"Site description."},"url":{"type":"string","description":"Absolute URL of the documentation site."}},"required":["url"],"additionalProperties":false},"repository":{"type":"object","properties":{"url":{"type":"string","description":"Repository URL."},"issues":{"type":"string","description":"Issue tracker URL, for a GitHub repository."},"releases":{"type":"string","description":"Releases URL, for a GitHub repository."},"branch":{"type":"string","description":"Branch the documentation is edited on."}},"required":["url","branch"],"additionalProperties":false},"links":{"type":"array","description":"Community and social links from the docs config; empty when none are configured.","items":{"type":"object","properties":{"label":{"type":"string","description":"Human-readable name of the destination."},"url":{"type":"string","description":"Absolute URL."}},"required":["label","url"],"additionalProperties":false}},"llms":{"type":"object","properties":{"index":{"type":"string","description":"URL of `llms.txt`: the page index as plain text."},"full":{"type":"string","description":"URL of `llms-full.txt`: every page's Markdown in one file."}},"required":["index","full"],"additionalProperties":false},"versions":{"type":"array","description":"Other documented versions of this project; absent when none are configured.","items":{"type":"object","properties":{"label":{"type":"string","description":"Version label, e.g. `v3`."},"url":{"type":"string","description":"Absolute URL of that version's docs."},"active":{"type":"boolean","description":"Present and true for the version served here."}},"required":["url"],"additionalProperties":false}}},"required":["site","links","llms"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/getting-started","/agents/pi/webmcp","/extension","/agents/pi","/agents/custom"]},{"name":"read_page","kind":"answer","impl":"imperative","description":"Read a documentation page as Markdown by route path. Links in it are route paths for this tool. If `truncated`, continue with `nextOffset` as `offset`. Generated pages have no Markdown source.","title":"Read a documentation page","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"path":{"type":"string","description":"Route path of the page, e.g. '/guide/getting-started'."},"offset":{"type":"integer","description":"Character offset; use `nextOffset` to continue (default 0).","minimum":0},"maxLength":{"type":"integer","description":"Maximum Markdown characters to return (1-40000, default 40000).","minimum":1,"maximum":40000}},"required":["path"]},"outputSchema":{"type":"object","properties":{"path":{"type":"string","description":"Route path of the page, e.g. `/guide/deploy` — `read_page`'s and `navigate`'s `path`."},"redirectedFrom":{"type":"string","description":"The path that was asked for; present only when a configured redirect moved it."},"url":{"type":"string","description":"Absolute URL of the page."},"markdownUrl":{"type":"string","description":"Absolute URL of the page's Markdown source. Absent for a generated page (`/`, `/blog`), which has none."},"editUrl":{"type":"string","description":"Repository URL for editing the page. Absent when the docs config names no repository, or for a generated page."},"title":{"type":"string","description":"Page title."},"description":{"type":"string","description":"Page description; an empty string when the page has none."},"length":{"type":"integer","description":"Length of the page's whole Markdown source, in characters."},"offset":{"type":"integer","description":"Character offset this slice starts at."},"truncated":{"type":"boolean","description":"Whether Markdown remains after this slice."},"nextOffset":{"type":"integer","description":"Pass as `offset` to read the next slice; absent when `truncated` is false."}},"required":["path","url","title","description","length","offset","truncated"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/getting-started","/agents/pi/webmcp","/extension","/agents/pi","/agents/custom"]},{"name":"get_current_page","kind":"answer","impl":"imperative","description":"Get metadata for the page the user is viewing: path, URL, title, description and heading outline.","title":"Get the current page","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{}},"outputSchema":{"type":"object","properties":{"path":{"type":"string","description":"Route path of the page, e.g. `/guide/deploy` — `read_page`'s and `navigate`'s `path`."},"url":{"type":"string","description":"Absolute URL of the page."},"markdownUrl":{"type":"string","description":"Absolute URL of the page's Markdown source. Absent for a generated page (`/`, `/blog`), which has none."},"editUrl":{"type":"string","description":"Repository URL for editing the page. Absent when the docs config names no repository, or for a generated page."},"title":{"type":"string","description":"Page title."},"description":{"type":"string","description":"Page description; an empty string when the page has none."},"headings":{"type":"array","description":"The page's heading outline, in document order.","items":{"type":"object","properties":{"text":{"type":"string","description":"Heading text."},"hash":{"type":"string","description":"Anchor of the heading, e.g. `#install` — `navigate`'s `hash`."},"depth":{"type":"integer","description":"Heading level: 2 for `##`, 3 for `###`."}},"required":["text","hash","depth"],"additionalProperties":false}}},"required":["path","url","title","description","headings"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/getting-started","/agents/pi/webmcp","/extension","/agents/pi","/agents/custom"]},{"name":"navigate","kind":"act","impl":"imperative","description":"Open a documentation page in the user's browser, optionally at a heading. Returns the page it landed on. Use only when the user asks to navigate; use `read_page` to inspect content without moving them.","title":"Open a documentation page","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{"path":{"type":"string","description":"Route path to open, e.g. '/guide/getting-started'."},"hash":{"type":"string","description":"Heading anchor to scroll to, e.g. '#installation'."}},"required":["path"]},"outputSchema":{"type":"object","properties":{"navigated":{"type":"boolean","description":"Always true; a failed navigation throws."},"external":{"type":"boolean","description":"Present and true when a configured redirect led off this documentation site: the browser is leaving it, `url` is the destination, and no page snapshot follows."},"redirectedFrom":{"type":"string","description":"The path that was asked for; present only when a configured redirect moved it."},"path":{"type":"string","description":"Route path of the page, e.g. `/guide/deploy` — `read_page`'s and `navigate`'s `path`."},"url":{"type":"string","description":"Absolute URL of the page."},"markdownUrl":{"type":"string","description":"Absolute URL of the page's Markdown source. Absent for a generated page (`/`, `/blog`), which has none."},"editUrl":{"type":"string","description":"Repository URL for editing the page. Absent when the docs config names no repository, or for a generated page."},"title":{"type":"string","description":"Page title."},"description":{"type":"string","description":"Page description; an empty string when the page has none."},"headings":{"type":"array","description":"The page's heading outline, in document order.","items":{"type":"object","properties":{"text":{"type":"string","description":"Heading text."},"hash":{"type":"string","description":"Anchor of the heading, e.g. `#install` — `navigate`'s `hash`."},"depth":{"type":"integer","description":"Heading level: 2 for `##`, 3 for `###`."}},"required":["text","hash","depth"],"additionalProperties":false}}},"required":["navigated","url"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/getting-started","/agents/pi/webmcp","/extension","/agents/pi","/agents/custom"]}],"category":"AI & Agents","favicon":"/favicons/agentak.dev.svg","apiSurface":"spec","toolCount":6}}