extract_keywords
Extract keywords from text based on frequency.
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": "extract_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to extract keywords from | |
| top_n | No | Number of keywords |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | Yes | Top keywords ranked by frequency | |
| total_words | Yes | Total word count (excluding stop words filter) | |
| unique_words | Yes | Number of unique words |