Get URL Content
get_url_contentRetrieve scraped markdown content and metadata from a URL. If truncated, request a larger max_length to get the full content.
Instructions
Get the scraped markdown content of a source URL. Use the URLs report (get_urls_report) to discover URLs. Returns markdown content plus metadata (title, domain, channel_title, classification, url_classification, content_length, truncated, content_updated_at). If stored content exceeds max_length, the response is truncated and truncated=true — re-request with a larger max_length to get more. Returns 404 if the URL is not tracked by the project.
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": "get_url_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to fetch content for. Discover URLs via get_urls_report. | |
| project_id | No | Project ID (uses PEECAI_PROJECT_ID env if omitted). Call list_projects to find IDs. | |
| max_length | No | Maximum number of characters of content to return (1-20,000,000). Default 100,000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _summary | Yes | Human-readable summary of the result | |
| content | Yes |