Retired: approve a paused scan
approve_scan_phaseRetired. Trent no longer pauses a scan for approval of its security requirements: a scan runs from start to finish, and the user can edit the requirements at any time with edit_analysis. This call records nothing and releases nothing. Use get_scan_status to follow a scan.
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": {
"scan_id": "<scan_id>",
"decision": "<decision>"
},
"name": "approve_scan_phase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scan_id | Yes | The scan's id. | |
| decision | Yes | Ignored: Trent no longer pauses scans for a decision. | |
| project_id | No | Project ID (provide either project_id or project_name) | |
| project_name | No | Project name (provide either project_id or project_name) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | True when the call itself failed. False for successful calls, including a scan still running, an already approved plan, or a repository classified as non-agentic. The reason field describes these workflow states. | |
| reason | No | A stable snake_case code from the allowed set. Present on every error and on successful calls that carry a workflow state. | |
| message | No | Exactly one sentence written for the user. Never raw exception text or a backend error string, which may expose private details. | |
| decision | No | The decision Trent answered with. | |
| metadata | No | Caller metadata, such as 'expiration_warning'. Substantive results have their own fields. Never includes exception or backend error text, which may expose private details. | |
| recorded | No | False: Trent stored nothing and released no scan. | |
| deprecated | No | True: Trent no longer pauses scans for approval, so this tool does nothing. | |
| next_steps | No | Recommended next actions, in order. | |
| retry_after_seconds | No | With reason rate_limited, how many seconds Trent asks the caller to wait. |