yuque_import_url
Imports web page content into Yuque by fetching the URL, extracting readable text, and creating a document. Saves online articles to your knowledge base with specified paths and format.
Instructions
Import content from a web URL into Yuque. Fetches page, extracts readable content, creates doc. 详见 references/api/extended_api.md
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": {
"book_id": "<book_id>",
"url": "<url>",
"paths": "<paths>"
},
"name": "yuque_import_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Web page URL to import (required) | |
| paths | Yes | Directory paths, e.g. ["收集/技术文章"]. 1-5 paths (required) | |
| title | No | Document title, defaults to page title | |
| format | No | Content format: markdown / html, defaults to markdown | |
| book_id | Yes | Target repository ID or namespace (required) |