is_alive
Check if a program is running using its process ID. Returns true if active, false if not.
Instructions
Check if a program is running.
Args: pid: The process ID returned by start_program().
Returns: True if the program is running, False otherwise.
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": {
"pid": "<pid>"
},
"name": "is_alive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |