@youdotcom-oss/mcp 1.4.1 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/bin/stdio.js +186 -109
- package/dist/contents/contents.schemas.d.ts +21 -5
- package/dist/contents/contents.utils.d.ts +3 -3
- package/package.json +2 -2
- package/src/contents/contents.schemas.ts +25 -8
- package/src/contents/contents.utils.ts +78 -20
- package/src/contents/register-contents-tool.ts +7 -3
- package/src/contents/tests/contents.utils.spec.ts +15 -16
- package/src/search/tests/search.utils.spec.ts +0 -1
- package/src/tests/tool.spec.ts +9 -9
package/README.md
CHANGED
|
@@ -194,9 +194,9 @@ Fast AI-powered agent that provides synthesized answers with optional real-time
|
|
|
194
194
|
**When to use**: When you want a direct answer to a question, with optional web search for up-to-date context and citations.
|
|
195
195
|
|
|
196
196
|
### you-contents
|
|
197
|
-
Extract full page content from URLs in markdown or
|
|
197
|
+
Extract full page content from URLs in markdown, HTML, or structured metadata formats. Useful for documentation analysis, content processing, SEO data extraction, and batch URL processing.
|
|
198
198
|
|
|
199
|
-
**When to use**: When you need to extract
|
|
199
|
+
**When to use**: When you need to extract web page content (markdown/HTML) or structured metadata (OpenGraph, JSON-LD) for analysis or processing in your workflow.
|
|
200
200
|
|
|
201
201
|
---
|
|
202
202
|
|
|
@@ -226,6 +226,8 @@ Here are common scenarios showing when and how to use each tool with natural lan
|
|
|
226
226
|
- "Extract the content from this blog post: https://example.com/article"
|
|
227
227
|
- "Get the documentation from these three URLs in markdown format"
|
|
228
228
|
- "Pull the HTML content from this page preserving the layout"
|
|
229
|
+
- "Extract metadata from this article to get the author and publish date"
|
|
230
|
+
- "Get OpenGraph preview data for social sharing from these URLs"
|
|
229
231
|
- "Batch extract content from these 5 documentation pages"
|
|
230
232
|
|
|
231
233
|
### Combined workflows
|