Keyword Extract
keyword_extractKeyphrase extraction for tagging, SEO and RAG metadata: RAKE (rapid automatic keyword extraction: candidate phrases split at stopwords/punctuation, scored by word degree / frequency) or TextRank (co-occurrence graph + PageRank, adjacent top words merged into phrases). Returns ranked multi-word phrases with score, relative relevance, occurrence count and first offset. Offline, deterministic, English stopword list (add your own); 200 KB input. Price: $0.002 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/keyword-extract
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": {
"text": "<text>"
},
"name": "keyword_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of phrases | |
| text | Yes | Text to analyse | |
| method | No | rake (phrase-oriented) or textrank (graph-based) | rake |
| maxWords | No | Longest phrase in words | |
| minCount | No | Drop phrases seen fewer times | |
| stopwords | No | Extra stopwords (lowercase) |