sarvam_detect_language
Detect the language and script of input text and return BCP-47 codes for locale identification and translation routing.
Instructions
Identify the language and script of input text. Returns BCP-47 codes.
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": {
"input": "<input>"
},
"name": "sarvam_detect_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |