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-isomit: store no outputobfuscate: store a redacted version of the output
Aliases are accepted:
full→retainnone/discard→omitredact/mask→obfuscate
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" }
}
}
}