import_source
Import raw content from a local markdown file or URL webpage to prepare for WeChat official account article processing. Returns markdown and metadata.
Instructions
导入原始内容(本地 markdown 文件或 URL 网页),准备进行公众号加工。返回 raw_markdown 和元数据。
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": {
"source_type": "<source_type>"
},
"name": "import_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | 网页 URL(source_type=url 时必填) | |
| path | No | 本地文件路径(source_type=file 时必填) | |
| source_type | Yes | 来源类型:file 读取本地文件,url 抓取网页正文 |