Answer guardrail prompt
guardrail_responseRespond to a guardrail trigger when the browser agent needs human input (credentials, clarification, approval). The response is handed to the live agent, which continues acting on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Optional file IDs to attach: ids returned by POST /files/upload, or any file already in one of the user's environment catalogs (GET /environments/:id/files). Max 5 files. | |
| newState | No | How to continue: 'resume' (default) provides the requested input and continues the task; 'deny' declines the request (response text optional). | |
| response | No | Your response/instructions to the agent. Required when newState is 'resume'. | |
| sessionId | Yes | Session ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | No | ||
| message | No | What happened and what to do next (poll get_task_status) | |
| success | Yes | ||
| sessionId | No |