Deduplicate Strings
deduplicate_stringsGet top-k semantically unique strings from a list using Jina embeddings and submodular optimization. Use this when you have many similar strings and want to select the most diverse subset that covers the semantic space. Perfect for removing duplicates, selecting representative samples, or finding diverse content.
When to Use
Use this tool when you need to get top-k semantically unique strings from a list using jina embeddings and submodular optimization. use this when you have many similar strings and want to select the most diverse subset that covers the semantic space. perfect for removing duplicates, selecting representative samples, or finding diverse content.. This is part of the Jina AI provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 19+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("jina/deduplicate_strings")xpay_run— Execute:xpay_run("jina/deduplicate_strings", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
strings | array | Yes | Array of strings to deduplicate |
k | number | No | Number of unique strings to return. If not provided, automatically finds optimal k by looking at diminishing return |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Jina AI (all tools) — 20 tools
- Show Api Key — $0.01/call
- Primer — $0.01/call
- Guess Datetime Url — $0.01/call
- Capture Screenshot Url — $0.01/call
- Read Url — $0.01/call
Links
- Tool page: https://xpay.tools/jina/deduplicate-strings/
- Provider: https://xpay.tools/jina/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
strings | array | Yes | Array of strings to deduplicate |
k | number | No | Number of unique strings to return. If not provided, automatically finds optimal k by looking at diminishing return |
Install Skill
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
Jina AI

