summarize_url
Fetch a URL and generate a summary using the client's language model. Specify focus and maximum length to tailor the output.
Instructions
Fetch a URL and ask the connected client's LLM (via MCP sampling) to summarize it. Requires a client that supports the sampling capability; otherwise use fetch_url and summarize the content yourself.
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": "summarize_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| focus | No | ||
| max_length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |