依路徑讀取 Wiki.js 頁面
wikijs_get_pageRetrieves a Wiki.js page's Markdown source and metadata by path or full page URL, with optional character limits and offsets to read long pages in segments.
Instructions
依頁面路徑讀取 Wiki.js 頁面的 Markdown 原始內容與中繼資料。path 不含 .md,可含中文,例如 RD部/Projects/Foo;也可直接貼上同站台的頁面網址。長頁面可用 maxChars 與 contentOffset 分段讀取。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "wikijs_get_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 頁面路徑(不含開頭斜線與 .md)或同站台的完整頁面網址 | |
| locale | No | 頁面語系,例如 zh-tw;省略時使用 WIKIJS_LOCALE(預設 zh-tw) | |
| maxChars | No | 單次回傳的內容字元上限,預設 100000 | |
| contentOffset | No | 從內容的第幾個字元開始回傳,用於分段讀取長頁面,預設 0 |