run_practice
Execute a PRACTICE script and wait for it to finish, with configurable timeout for automated debugging tasks.
Instructions
Run a PRACTICE (.cmm) script and wait for it to complete.
Args: script: Path to the .cmm script file (absolute or relative to TRACE32) timeout: Maximum time to wait for script completion in seconds (default: 60)
Returns: Script execution result (success or error message)
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": {
"script": "<script>"
},
"name": "run_practice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |