obfuscate_file
Obfuscate a local built file on SunLicense servers and download the protected output beside it; language is auto-detected unless an engine or profile is chosen.
Instructions
Obfuscate a local built file on SunLicense's servers and download the result next to it. The file is read from disk and uploaded straight to SunLicense; it is never shown to the model. The language is detected from the file unless you pass an engine or profile. This waits for the run to finish (it can take a few minutes) and returns the output paths; the exit is an error if the run fails. Needs the obfuscation feature (Lite or Standard).
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": {
"file": "<file>"
},
"name": "obfuscate_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | path to a local built file (.jar, .zip, .js, .lua, .py); read and uploaded to SunLicense, never shown to the model | |
| config | No | path to a local raw engine-config file (advanced; runs the config as-is after checks) | |
| engine | No | an engine id, overriding the language's default | |
| product | No | a product id, to use that product's linked profile | |
| profile | No | a saved profile, by name or id (obfuscation_profiles_list) | |
| outputDir | No | where to write the outputs; defaults to the input file's folder |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| engine | Yes | ||
| status | Yes | ||
| taskId | Yes | ||
| outputs | Yes | ||
| language | Yes |