Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
OAUTH_TOKEN | No | OAuth token from the OAuth extension | |
SCRIPT_PATH | No | Script path of the wiki (e.g. /w) | |
WIKI_SERVER | No | Domain of the wiki (e.g. https://en.wikipedia.org) | |
ARTICLE_PATH | No | Article path of the wiki (e.g. /wiki) |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get-page | Returns the standard page object for a wiki page, optionally including page source or rendered HTML, and including the license and information about the latest revision. |
get-page-history | Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments. |
search-page | Search wiki page titles and contents for the provided search terms, and returns matching pages. |
set-wiki | Set the wiki to use for the current session. |
update-page | Updates a wiki page. Replaces the existing content of a page with the provided content |
get-file | Returns information about a file, including links to download the file in thumbnail, preview, and original formats. |
create-page | Creates a wiki page with the provided content. |