Schema show
Describe a selected public schema surface.
op_sys_command_schema_showOn this page
Use this capability
op-sys --output json tools call op_sys_command_schema_show \ --arguments '{}'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 schema 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"surfacestringOptionalSchema default:
"all"Allowed: "all", "cli-envelope", "worker-runtime", "doctor", "database-schema", "self", "ledger", "workflows", "ledger-batch", "approvals", "sessions", "policy", "audit", "state", "trust", "worker", "worker-type", "cloud", "query", "tools", "mcp"
Complete input JSON Schema
{ "additionalProperties": false, "properties": { "actor": { "default": "operator", "description": "Actor recorded on writes and audit entries.", "type": "string" }, "surface": { "default": "all", "enum": [ "all", "cli-envelope", "worker-runtime", "doctor", "database-schema", "self", "ledger", "workflows", "ledger-batch", "approvals", "sessions", "policy", "audit", "state", "trust", "worker", "worker-type", "cloud", "query", "tools", "mcp" ], "type": "string" } }, "required": [], "type": "object"}Behavior & authority
Use an owner-private state root. Imports require the applicable policy, trust and approval; verification alone never grants replacement authority.
Rules shared by state portability & schema operations
- Stop every writer before a state import. This replaces state offline; it is not synchronization or a cross-ledger merge.
- Verify provenance and database compatibility before admission. Unsigned or merely cryptographically valid data is not necessarily trusted.
- Schema inspection is read-only; migration requires its explicit confirmation. Unsupported layouts are not silently rewritten.
- On an interrupted restore, preserve receipts and backups, keep writers stopped and follow documented recovery. Do not repeatedly import into an uncertain target.
Response
Returns the command’s structured payload. The runtime output manual documents the payload families; no standalone response JSON Schema is published for this operation.
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
bundle_restore_recovery_required- Keep writers stopped and retain private recovery receipts for explicit recovery.
state_permissions_unsecured- The runtime cannot prove safe ownership or path handling.
schema_migration_busy- Stop competing writers before retrying the bounded migration operation.
The family-level reasons above are representative, not an exhaustive operation error list.
For an uncertain write, preserve the original request and retry identity. On conflict, inspect current state before deciding what to change.