Approval show
Inspect one approval and its decision state.
op_sys_command_approval_showOn this page
Use this capability
op-sys --output json tools call op_sys_command_approval_show \ --arguments '{"id":"<id>"}'Request template: replace placeholder identities and supply complete contract-specific objects before use. Required arguments are shown; optional arguments are listed below. MCP requests assume an initialized connection.
Named CLI command: op-sys approval show. Use --help for command-specific flag syntax; the CLI/SDK/MCP examples share arguments; HTTP uses the documented route and body.
Parameters
Arguments are a JSON object. The published schema does not permit unknown top-level fields. Some retained CLI JSON flags are strings containing JSON; follow the declared type.
actorstringOptionalActor recorded on writes and audit entries.
Schema default:
"operator"idstringRequired
Complete input JSON Schema
{ "additionalProperties": false, "properties": { "actor": { "default": "operator", "description": "Actor recorded on writes and audit entries.", "type": "string" }, "id": { "type": "string" } }, "required": [ "id" ], "type": "object"}Behavior & authority
Local policy and approver configuration determine permission. Approval is scoped to its operation; it is not a blanket privilege escalation.
Rules shared by optional policies & approvals operations
- Inspect the requested action and current approval before deciding or revoking it.
- An approval record does not automatically execute an action. The consuming operation still performs its checks.
- Keep the original approval ID and operation binding when retrying. Audit history records decisions.
Response
Returns a payload under approval. See the output manual for field semantics and optional fields.
CLI tools/call result: payload.tool.result. Response envelopes across CLI, SDK and MCP ↗
The runtime does not publish a standalone response JSON Schema for this operation. Use the response description and linked output manual; the downloadable input schema is not a response contract.
Errors & retries
This operation uses the shared runtime error contract; no exhaustive operation-specific reason list is published.
For an uncertain write, preserve the original request and retry identity. On conflict, inspect current state before deciding what to change.