Wait For Process
wait_for_processBlocks execution until the specified process exits or a timeout occurs, enabling synchronization with process completion.
Instructions
Block until a process exits (or timeout).
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": "wait_for_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |