# onf_storage_question_decide

Re-correlate an exact stored identity/anchor/actor, validate an allowed option and atomically select/enqueue once.

Canonical URL: https://opennodeflow.dev/wiki/tool-onf-storage-question-decide/
JSON reference: https://opennodeflow.dev/wiki/tool-onf-storage-question-decide/index.json
Source snapshot: 2026-10-23

Re-correlate an exact stored identity/anchor/actor, validate an allowed option and atomically select/enqueue once.

[Agent workflow authoring](/wiki/mcp-workflow-authoring/) · [All MCP tools](/wiki/mcp-tools/)

## Inputs

| Field | Required | Contract |
| --- | --- | --- |
| `key` | Yes | string |
| `expectedVersion` | Yes | integer |
| `match` | Yes | object |
| `optionId` | Yes | string |
| `dedupKey` | Yes | string |
| `payload` | No | Structured value |
| `workspaceId` | Yes | string |
| `namespace` | Yes | string |

## Exact input schema


```json
{
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$"
    },
    "expectedVersion": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "match": {
      "type": "object",
      "properties": {
        "identity": {
          "type": "object",
          "propertyNames": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "additionalProperties": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1000
          }
        },
        "threadId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1000
        },
        "replyToCommentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1000
        },
        "actorId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1000
        },
        "actorIsBot": {
          "type": "boolean"
        }
      },
      "required": [
        "identity",
        "actorId"
      ],
      "additionalProperties": false
    },
    "optionId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$"
    },
    "dedupKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$"
    },
    "payload": {},
    "workspaceId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[A-Za-z0-9_.-]+$"
    },
    "namespace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    }
  },
  "required": [
    "key",
    "expectedVersion",
    "match",
    "optionId",
    "dedupKey",
    "workspaceId",
    "namespace"
  ]
}
```


## MCP annotations

- `readOnlyHint`: `false`
- `destructiveHint`: `false`
- `idempotentHint`: `false`
- `openWorldHint`: `false`

Annotations describe tool behavior; they are not an authorization boundary.

## Calling this tool

Use the exact registered name `onf_storage_question_decide` 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](/wiki/mcp-connect/) and [agent safety](/wiki/agent-safety/) for transport, permissions and uncertain-action recovery.

---

## Documentation provenance

- `server/platform-tools.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
