onf_set_secret
Create/replace a shared encrypted secret. Returns metadata only. Prefer entering real credentials directly in ONF Settings to avoid putting them in chat/tool arguments.
Create/replace a shared encrypted secret. Returns metadata only. Prefer entering real credentials directly in ONF Settings to avoid putting them in chat/tool arguments.
Agent workflow authoring · All MCP tools
Inputs#
| Field | Required | Contract |
|---|---|---|
name | Yes | string |
value | Yes | string |
Exact input schema#
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]{0,119}$"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 65536
}
},
"required": [
"name",
"value"
]
}MCP annotations#
readOnlyHint:falsedestructiveHint:trueidempotentHint:falseopenWorldHint:true
Annotations describe tool behavior; they are not an authorization boundary.
Calling this tool#
Use the exact registered name onf_set_secret through a compatible MCP client. Start with discovery and read the current object before a change. Pass the documented revision or version guards where required. A JSON Schema default is not a substitute for reading the tool contract.
See connection setup and agent safety for transport, permissions and uncertain-action recovery.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
server/mcp-tools.ts