tokenize
Split text into tokens using YandexGPT. Returns a list of tokens and their total count for further text analysis.
Instructions
Токенизация текста моделью YandexGPT. Возвращает список токенов и их количество.
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": "tokenize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Текст для токенизации | |
| model | No | Модель для токенизации | yandexgpt-lite |