ps_execute_batch
Execute multiple AI agent actions sequentially or in parallel under a single governance frame with configurable failure handling.
Instructions
Execute multiple actions under a single frame. Supports sequential or parallel execution with optional stop-on-failure.
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": {
"agentId": "<agentId>",
"frame": "<frame>",
"actions": "<actions>"
},
"name": "ps_execute_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Unique identifier for the executing agent | |
| frame | Yes | The governing PromptSpeak frame for all actions | |
| actions | Yes | Array of actions to execute under the frame | |
| parentFrame | No | Parent frame if part of delegation chain | |
| stopOnFirstFailure | No | Stop executing remaining actions on first failure (sequential only) | |
| parallel | No | Execute all actions in parallel instead of sequentially |