generate_char_ngrams
Generate character-level n-grams from text. Specify the n value (default 3) to produce fixed-length substrings for analysis tasks like classification or spelling correction.
Instructions
Generate character-level n-grams from text.
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": "generate_char_ngrams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |