公开网页正文提取
cn_webpage_extractExtract title, description, and summary text from a public web page. Blocks access to localhost and internal IP addresses to reduce SSRF risk.
Instructions
读取公开网页标题、描述和正文简摘。默认禁止访问 localhost/内网/保留地址,降低 SSRF 风险。
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": {
"url": "<url>"
},
"name": "cn_webpage_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 公开 http/https 网页 URL | |
| maxChars | No | 最多返回正文字符数,默认 4000。 | |
| includeLinks | No | 是否返回前 30 个链接,默认 false。 | |
| includeMetadata | No | 是否返回更多 meta 信息,默认 true。 | |
| summaryMode | No | 正文模式,plain=纯文本,structured=分段。 |