resolve_url_type
Classifies any Reddit URL as a post, comment, profile, subreddit, or search and returns extracted identifiers so you can choose the right tool next.
Instructions
Detect what a Reddit URL points to — a post, comment, user profile, subreddit, or search. Returns the detected type and extracted identifiers (post ID, username, subreddit, etc.). Useful before deciding which tool to call next.
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": "resolve_url_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Any Reddit URL to classify |