get_encoding
Retrieve the character encoding of the currently active file in Sublime Text. Useful for verifying file encoding before processing.
Instructions
Return the character encoding of the active file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_encoding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||