get_script_execution_log
Stream script execution logs from GIMS via SSE and wait for end markers or timeout to collect output after manual script execution.
Instructions
Get script execution log via SSE stream. Waits for end marker or timeout. Use this to collect script output after manual script execution in GIMS.
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": {
"scr_id": "<scr_id>"
},
"name": "get_script_execution_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scr_id | Yes | Script ID in GIMS | |
| timeout | No | Timeout in seconds (overrides GIMS_LOG_STREAM_TIMEOUT) | |
| end_markers | No | End markers to stop log collection. Default: ['END SCRIPT'] | |
| filter_pattern | No | Python regex to filter log lines (applied after end marker check) | |
| keep_timestamp | No | Keep timestamp and log level in output (default: false) |