DwiziDwizi

Browse docs

Technical Guides

Per-tool output retention and obfuscation settings.

Output Policy

Output policy controls what is stored from tool executions. It does not change what your tool returns to the requester; it only affects retained run history.

Supported Values

  • retain (default): store output as-is
  • omit: store no output
  • obfuscate: store a redacted version of the output

Aliases are accepted:

  • fullretain
  • none / discardomit
  • redact / maskobfuscate

When obfuscating, strings become <redacted>, numbers become 0, and booleans become false while preserving the shape of the output.

Set via REST API

POST /v1/tools
{
  "name": "Support Triage",
  "language": "ts",
  "source": "export default async () => ({ ok: true })",
  "outputPolicy": "obfuscate"
}
PATCH /v1/tools/:slug
{ "outputPolicy": "omit" }

Set via Dwizi MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "dwizi.tools.update",
    "arguments": {
      "slug": "support-triage",
      "patch": { "outputPolicy": "omit" }
    }
  }
}