Detect Language
detect_languageDetect the language of a text string. Returns an array of detected languages with confidence scores.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "Hola, ¿cómo estás?"
},
"name": "detect_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text whose language should be detected |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The input text that was analyzed | |
| detections | Yes | Array of detected languages with confidence scores |