detect_language
Detect the script and language of a text using sub-millisecond local inference across 100+ languages, with calibrated confidence and no text generation.
Instructions
Detect the script and language of a text (sub-millisecond, no model forward pass).
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": "detect_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||