URL forms and short forms
Targets are URLs or short forms written <platform>:<path>, such as x:@nasa, reddit:r/ClaudeCode or linkedin:company/stripe. Each maps to exactly one platform, one kind and one canonical URL.
| Accepted form | Kind | Tools | Example | Canonical URL in the answer |
|---|---|---|---|---|
| linkedin.com/in/<slug>, <country>.linkedin.com/in/<slug>, linkedin.com/in/<slug>/<any subpage> | person | read_profile, list_posts | https://www.linkedin.com/in/satyanadella | https://www.linkedin.com/in/satyanadella/ |
| linkedin.com/company/<slug>, linkedin.com/school/<slug>, linkedin.com/showcase/<slug> | company | read_profile, list_posts | https://www.linkedin.com/company/microsoft | https://www.linkedin.com/company/microsoft/ |
| linkedin.com/posts/<author>_<words>-activity-<id>-<code> | post | read_post | https://www.linkedin.com/posts/microsoft_housing-affordability-climate-resilience-activity-7533220808010174464--_aR | https://www.linkedin.com/feed/update/urn:li:activity:7533220808010174464/ |
| linkedin.com/feed/update/urn:li:activity:<id>, linkedin.com/feed/update/urn:li:share:<id>, linkedin.com/feed/update/urn:li:ugcPost:<id> | post | read_post | https://www.linkedin.com/feed/update/urn:li:activity:7533220808010174464/ | same |
| linkedin.com/jobs/view/<id>, <country>.linkedin.com/jobs/view/<title>-<id> → unsupported_url; use search_jobs | job | not in this version (unsupported_url) | https://www.linkedin.com/jobs/view/4454552288/ | – |
| lnkd.in/<code> → short link | short link, resolved once | after resolving | https://lnkd.in/eXaMpLe | – |
| shorthand linkedin:in/<slug> | person | read_profile, list_posts | linkedin:in/satyanadella | https://www.linkedin.com/in/satyanadella/ |
| shorthand linkedin:company/<slug>, linkedin:school/<slug>, linkedin:showcase/<slug> | company | read_profile, list_posts | linkedin:company/stripe | https://www.linkedin.com/company/stripe/ |
| bare shorthand linkedin:<name> → invalid_input: person or company is ambiguous | invalid_input | – | linkedin:microsoft | – |
X
| Accepted form | Kind | Tools | Example | Canonical URL in the answer |
|---|---|---|---|---|
| x.com/<handle>, twitter.com/<handle>, mobile.twitter.com/<handle>, x.com/<handle>/with_replies, x.com/<handle>/media | account | read_profile, list_posts | https://x.com/NASA | same |
| x.com/<handle>/status/<id>, x.com/<handle>/statuses/<id>, x.com/<handle>/status/<id>/photo/<n> | post | read_post | https://x.com/jack/status/20 | same |
| x.com/i/web/status/<id>, x.com/i/status/<id> | post | read_post | https://x.com/i/web/status/20 | same |
| x.com/hashtag/<tag> | hashtag | list_posts | https://x.com/hashtag/Artemis?src=hashtag_click | https://x.com/hashtag/Artemis |
| x.com/home, x.com/explore, x.com/search, x.com/settings → unsupported_url: reserved paths | unsupported_url | – | https://x.com/home | – |
| t.co/<code> → short link | short link, resolved once | after resolving | https://t.co/AbCdEf1234 | – |
| shorthand x:@<handle>, x:<handle>, twitter:@<handle> | account | read_profile, list_posts | x:@nasa | https://x.com/nasa |
| shorthand x:#<tag> | hashtag | list_posts | x:#artemis | https://x.com/hashtag/artemis |
| Accepted form | Kind | Tools | Example | Canonical URL in the answer |
|---|---|---|---|---|
| instagram.com/<username>/, instagram.com/<username>/reels/, instagram.com/<username>/tagged/ | account | read_profile, list_posts | https://www.instagram.com/nasa/ | same |
| instagram.com/p/<code>/, instagram.com/tv/<code>/, instagram.com/<username>/p/<code>/ | post | read_post | https://www.instagram.com/p/DgX8EUzjaaS/ | same |
| instagram.com/reel/<code>/, instagram.com/reels/<code>/ | post | read_post | https://www.instagram.com/reel/Df3Rp0bKNdr/ | same |
| instagram.com/explore/tags/<tag>/ | hashtag | list_posts | https://www.instagram.com/explore/tags/artemis/ | same |
| instagram.com/stories/<username>/… → unsupported_url | story | not in this version (unsupported_url) | https://www.instagram.com/stories/nasa/3512345678901234567/ | – |
| shorthand instagram:@<username>, instagram:<username> | account | read_profile, list_posts | instagram:@nasa | https://www.instagram.com/nasa/ |
| shorthand instagram:#<tag> | hashtag | list_posts | instagram:#jwst | https://www.instagram.com/explore/tags/jwst/ |
| Accepted form | Kind | Tools | Example | Canonical URL in the answer |
|---|---|---|---|---|
| reddit.com/r/<sub>/, old.reddit.com/r/<sub>/new/, reddit.com/r/<sub>/about/ → the subreddit | subreddit | read_profile, list_posts | https://www.reddit.com/r/ClaudeCode/ | same |
| reddit.com/r/<sub>/hot/, reddit.com/r/<sub>/top/, reddit:r/<sub>/hot, reddit:r/<sub>/top?t=<window> → top windows hour, day, week, month, year and all, default day | subreddit | read_profile, list_posts | https://www.reddit.com/r/ClaudeAI/hot/ | same |
| reddit.com/r/<sub>/comments/<id>/<slug>/, old.reddit.com/r/<sub>/comments/<id>/<slug>/, reddit.com/r/<sub>/comments/<id>/comment/<comment-id>/ → the thread | post | read_post | https://www.reddit.com/r/ClaudeCode/comments/1yb2j3z/claude_code_cant_read_reddit_so_i_built_an_mcp/ | https://www.reddit.com/r/ClaudeCode/comments/1yb2j3z/ |
| reddit.com/comments/<id>, redd.it/<id> | post | read_post | https://www.reddit.com/comments/1wueysb | https://www.reddit.com/comments/1wueysb/ |
| reddit.com/user/<name>/, reddit.com/u/<name>/ | user | not in this version (unsupported_url) | https://www.reddit.com/user/spez/ | – |
| reddit.com/r/<sub>/s/<code> → share link | short link, resolved once | after resolving | https://www.reddit.com/r/ClaudeCode/s/AbCdEf123 | – |
| shorthand reddit:r/<sub>, reddit:r/<sub>/new, bare r/<sub> | subreddit | read_profile, list_posts | reddit:r/ClaudeCode | https://www.reddit.com/r/ClaudeCode/ |
| shorthand reddit:u/<user>, bare u/<user> | user | not in this version (unsupported_url) | reddit:u/spez | – |
| bare shorthand reddit:<name> → invalid_input: subreddit or user is ambiguous | invalid_input | – | reddit:ClaudeCode | – |
YouTube
| Accepted form | Kind | Tools | Example | Canonical URL in the answer |
|---|---|---|---|---|
| youtube.com/watch?v=<id>, m.youtube.com/watch?v=<id>, music.youtube.com/watch?v=<id>, youtube.com/watch?v=<id>&list=<playlist>, youtu.be/<id> → the video, also when a playlist is named | video | read_post, read_transcript | https://www.youtube.com/watch?v=jNQXAC9IVRw | same |
| youtube.com/shorts/<id>, youtube.com/live/<id>, youtube.com/embed/<id> | video | read_post, read_transcript | https://www.youtube.com/shorts/WN-JK-hMAyg | https://www.youtube.com/watch?v=WN-JK-hMAyg |
| youtube.com/@<handle>, youtube.com/@<handle>/videos, youtube.com/@<handle>/shorts, youtube.com/@<handle>/about → the channel; list_posts answers with its long videos, also for the /shorts page, and read_profile answers not_found for a channel without long videos | channel | read_profile, list_posts | https://www.youtube.com/@GoogleDevelopers | https://www.youtube.com/@googledevelopers |
| youtube.com/channel/UC<22 chars>, youtube.com/c/<name>, youtube.com/user/<name> | channel | read_profile, list_posts | https://www.youtube.com/channel/UC_x5XG1OV2P6uZZ5FSM9Ttw | same |
| youtube.com/playlist?list=… → unsupported_url | playlist | not in this version (unsupported_url) | https://www.youtube.com/playlist?list=PLOU2XLYxmsIIwGK7v7jg3gQvIAWJzdat_ | – |
| shorthand youtube:@<handle>, youtube:UC<id> | channel | read_profile, list_posts | youtube:@GoogleDevelopers | https://www.youtube.com/@googledevelopers |
TikTok
| Accepted form | Kind | Tools | Example | Canonical URL in the answer |
|---|---|---|---|---|
| tiktok.com/@<user>, m.tiktok.com/@<user> | account | read_profile, list_posts | https://www.tiktok.com/@nasa | same |
| tiktok.com/@<user>/video/<id>, tiktok.com/@<user>/photo/<id> | video | read_post | https://www.tiktok.com/@nasa/video/7710449624397450509 | same |
| tiktok.com/tag/<tag> | hashtag | list_posts | https://www.tiktok.com/tag/jwst | same |
| vm.tiktok.com/<code>, vt.tiktok.com/<code>, tiktok.com/t/<code> → short links | short link, resolved once | after resolving | https://vm.tiktok.com/ZMabc123/ | – |
| shorthand tiktok:@<user>, tiktok:<user> | account | read_profile, list_posts | tiktok:@nasa | https://www.tiktok.com/@nasa |
| shorthand tiktok:#<tag> | hashtag | list_posts | tiktok:#jwst | https://www.tiktok.com/tag/jwst |
Google Maps
| Accepted form | Kind | Tools | Example | Canonical URL in the answer |
|---|---|---|---|---|
| google.com/maps/search/?api=1&query=<name>&query_place_id=<id> | place | read_profile, read_reviews | https://www.google.com/maps/search/?api=1&query=Factory+Berlin+Mitte&query_place_id=ChIJFzbqHPFRqEcRDC9pi8Ztqz4 | https://www.google.com/maps/search/?api=1&query=Google+Maps&query_place_id=ChIJFzbqHPFRqEcRDC9pi8Ztqz4 |
| google.com/maps?cid=<cid>, maps.google.com/?cid=<cid>, google.fr/maps/place/<name>/data=<place-data> | place | read_profile, read_reviews | https://www.google.com/maps?cid=4515823750878932748 | same |
| google.com/maps/place/?q=place_id:<id> | place | read_profile, read_reviews | https://www.google.com/maps/place/?q=place_id:ChIJOW9uhBpu5kcRsHAEaLGty2s | https://www.google.com/maps/search/?api=1&query=Google+Maps&query_place_id=ChIJOW9uhBpu5kcRsHAEaLGty2s |
| maps.app.goo.gl/<code> → short share link | short link, resolved once | after resolving | https://maps.app.goo.gl/uBhhp2kUUVMhaAZi6 | – |
Rejected inputs
Any other host answers unsupported_url and lists the supported platforms (LinkedIn, X, Instagram, Reddit, YouTube, TikTok, or Google Maps). A bare @name or #tag without a platform, an unknown prefix or a malformed id answers invalid_input. Short links are resolved with one redirect lookup and must land on the same platform.
| Input | Answer |
|---|---|
https://www.facebook.com/nasa | unsupported_url |
https://example.com/x.com/nasa | unsupported_url |
@nasa | invalid_input |
#jwst | invalid_input |
mastodon:@nasa | invalid_input |
ftp://x.com/nasa | unsupported_url |
https://www.youtube.com/results?search_query=mcp | unsupported_url |
https://i.redd.it/lt6rw3oxu74i1.jpeg | unsupported_url |
https://www.linkedin.com/pulse/some-article | unsupported_url |
https://www.youtube.com/watch?v=short | invalid_input |
| `` | invalid_input |
https://constructor/NASA | unsupported_url |
https://__proto__/x | unsupported_url |
constructor:@nasa | invalid_input |
toString:@nasa | invalid_input |
https://user:pw@t.co/AbCdEf1234 | invalid_input |
https://t.co:8443/AbCdEf1234 | invalid_input |
https://evil@x.com/nasa | invalid_input |
https://x.com:444/nasa | invalid_input |
https://x.com:443/NASA | invalid_input |
https://t.co:443/AbCdEf1234 | invalid_input |
x.com:443/NASA | invalid_input |
https://t.co/ | invalid_input |
https://lnkd.in/a/b/c | invalid_input |
https://www.google.com/maps/search/?api=1&query=coworking | unsupported_url |
https://www.google.com/maps/dir/Paris/London | unsupported_url |
https://www.google.com/maps/reviews/data=example | unsupported_url |
https://www.google.com/maps?cid=1&cid=2 | unsupported_url |
https://example.google.com/maps?cid=1 | unsupported_url |
https://www.google.com:443/maps?cid=1 | invalid_input |
https://www.tiktok.com/t/ | invalid_input |
https://www.reddit.com/r/ClaudeCode/s/ | invalid_input |
x:#� | invalid_input |
https://x.com/� | invalid_input |
tiktok:#not a tag | invalid_input |
https://youtu.be/bad | invalid_input |
https://x.com/jack/status/invalid | invalid_input |
https://x.com/i/web/status/abc | invalid_input |
https://www.instagram.com/p/!!/ | invalid_input |
https://www.reddit.com/r/ClaudeCode/comments/!!/ | invalid_input |
https://redd.it/! | invalid_input |
https://www.tiktok.com/@nasa/video/abc | invalid_input |
https://www.youtube.com/channel/UCshort | invalid_input |
https://www.linkedin.com/feed/update/urn:li:foo:1/ | invalid_input |
https://www.linkedin.com/jobs/view/abc/ | invalid_input |
https://www.linkedin.com/posts/ | invalid_input |
https://www.linkedin.com/posts/microsoft_housing-affordability | invalid_input |
The social web is one tool call away.
Fetch https://trawlmcp.com/setup.md and follow it to set me up with Trawl.