Tool tree
corpus build --out dist-pages replaces the output directory with a static site that GitHub Pages can serve as is.
Implementation
gradeNot graded
gradeNot graded
page: Every page
get_selection_contextAnswer
The text the user has selected on this Corpus docs page, with its source provenance: repository, file path, 1-based line range, commit sha, enclosing heading and anchor, and page URL.
View tool JSON
{
"name": "get_selection_context",
"kind": "answer",
"impl": "imperative",
"description": "The text the user has selected on this Corpus docs page, with its source provenance: repository, file path, 1-based line range, commit sha, enclosing heading and anchor, and page URL.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/corpus/"
}search_docsAnswer
Keyword search over the Corpus documentation bundle (topics and documents) served by this site.
View tool JSON
{
"name": "search_docs",
"kind": "answer",
"impl": "imperative",
"description": "Keyword search over the Corpus documentation bundle (topics and documents) served by this site.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Words to look for."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Maximum results (default 10)."
}
},
"required": [
"query"
]
},
"page": "/corpus/"
}get_topicAnswer
Read one curated Corpus documentation topic as Markdown, by id. search_docs returns topic ids.
View tool JSON
{
"name": "get_topic",
"kind": "answer",
"impl": "imperative",
"description": "Read one curated Corpus documentation topic as Markdown, by id. search_docs returns topic ids.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Topic id."
}
},
"required": [
"id"
]
},
"page": "/corpus/"
}