Language detection
language_detectIdentify the language of text in 100+ languages, returning an ISO 639-1 code, English name, script, and model-reported confidence.
Instructions
Detect the language of any text (100+ languages): ISO 639-1 code, English name and script, plus the model's self-reported confidence (not a calibrated probability). Costs $0.001 per call.
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": "language_detect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to identify. |