Coming soon. The Wiki is in active development, so features and these docs may still change. Early adopters: contact us for access.

What Kee can read: the tool reference

The tools Ask Kee uses to look things up in the Wiki, what each one reads, and the access it needs

Ask Kee doesn't read the whole Wiki at once. To answer a question, the model asks for what it needs through tools, one at a time: search for pages, read a page, list a space's pages. Each tool runs as the person who asked, with the same access checks as the Wiki's own screens, so Kee can never read more than that person could.

1. How the tools work

  • Every tool in this release only reads. None creates, changes or deletes anything.
  • Each tool returns at most what the person could see in the browser: a restricted or locked page they are not on doesn't exist for the tool.
  • Nothing of a space whose admins turned Kee off is ever returned, whoever asks.
  • A page's id is its space key and number, such as OPS/42; answers link to /spaces/{key}/pages/{id}.
  • A long page comes back as its outline and first section, with a note; the model can then ask for the sections it needs. Images, files, mentions, macros and HTML blocks are described by their captions or titles, never sent as content.
  • The answer's sources are only pages a tool returned while answering that question.

2. The tools

The first group is loaded for every question. The rest are found by the model when it needs them, through find_tools and call_tool, which apply the same checks.

ToolWhat it doesNeeds
search_pagesFinds pages by words in their title (whole words, all of them), in one space or all the spaces the person can readRead the space
get_pageReads a page: its title, where it is, labels, when it changed and its text (or its outline and first section when long)Read the space
get_page_treeLists a space's pages as a tree, or the pages under one pageRead the space
list_spacesLists the spaces the person can readRead the space
get_spaceDescribes a space: name, description, labels and its main pagesRead the space
list_commentsReads the comments on a pageRead the space
list_labelsLists labels, or the pages carrying oneRead the space
find_toolsFinds a tool that isn't loaded, by what it doesUse Kee
call_toolRuns a tool found with find_toolsUse Kee
list_page_versionsLists a page's published versionsRead the space
get_page_versionReads one earlier version of a pageRead the space
list_templatesLists the templates a space offersEdit pages in the space
get_templateReads one templateEdit pages in the space

3. Not in this release

  • Searching the words inside pages: search_pages matches titles only.
  • Blog posts, Q&A, attachments, page locks, plans, reactions and who watches a page.
  • Tools that change anything. Kee answers and points to the editor; it doesn't edit pages.

What the tools send to the model provider is described in Kee data handling.