Reference/Diagnostics & service usage

Doctor

Run local diagnostic checks.

op_sys_command_doctor
Local or configured shared serviceRead as Markdown ↗
On this page

Use this capability

CLI invocation · Shell
op-sys --output json tools call op_sys_command_doctor \  --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 doctor. 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.

actorstringOptional

Actor recorded on writes and audit entries.

Schema default: "operator"

Complete input JSON Schema
Complete input schema · JSON
{  "additionalProperties": false,  "properties": {    "actor": {      "default": "operator",      "description": "Actor recorded on writes and audit entries.",      "type": "string"    }  },  "required": [],  "type": "object"}

Behavior & authority

Use the configured host context and the required service capability. Diagnostics are not a cross-workspace administrative console.

Rules shared by diagnostics & service usage operations
  • Service usage and counters concern the selected workspace and require workspace-wide read permission. Health is an anonymous liveness check; local installation diagnostics are separate.
  • A successful diagnostic check does not qualify a platform for public release. Follow the availability guide for current release limits.

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

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.