get_phrase_frequency
Extract and count the most common multi-word phrases from text. Default bigrams, adjustable n and top-k results for pattern analysis.
Instructions
Most frequent n-grams (phrases). Default bigrams. Returns [{phrase, count}].
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": "get_phrase_frequency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| n | No | ||
| top_n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |