detect_content_type
Identify whether a URL serves HTML, PDF, image, or other content by inspecting its response headers and initial bytes.
Instructions
Detect content type of URL (HTML, PDF, image, etc.).
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": "detect_content_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| timeout_profile | No | fast |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |