import_script
Import Python scripts into GIMS from Git format. Validates syntax before import to prevent errors.
Instructions
Import a script to GIMS from Git format. Validates Python syntax before import.
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": {
"meta_yaml": "<meta_yaml>",
"code": "<code>"
},
"name": "import_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code of the script | |
| meta_yaml | Yes | Content of meta.yaml | |
| target_name | No | Name to use if different from meta | |
| update_existing | No | Update existing script | |
| target_folder_id | No | Folder ID to save to |