validate_and_build_ts4script
Validates Python 3.7 source code with an AST gatekeeper, then bundles the module into a .ts4script zip for Sims 4 script mods.
Instructions
Run the Python 3.7 AST gatekeeper then bundle a .ts4script zip.
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": {
"source_dir": "<source_dir>",
"output_path": "<output_path>"
},
"name": "validate_and_build_ts4script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strict | No | ||
| source_dir | Yes | ||
| module_name | No | mod | |
| output_path | Yes |