{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "tool-onf-stage-ai-action",
  "title": "onf_stage_ai_action",
  "section": "MCP tool reference",
  "description": "Propose a non-graph mutating ONF tool call for separate user approval. Supply its exact existing tool name and arguments plus a clear summary. Does not perform the action. Direct graph edits must use stage ai graph changes; uncertain approv",
  "kind": "mcp",
  "url": "/wiki/tool-onf-stage-ai-action/",
  "markdown": "/wiki/tool-onf-stage-ai-action/index.md",
  "json": "/wiki/tool-onf-stage-ai-action/index.json",
  "headings": [
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "exact-input-schema",
      "title": "Exact input schema",
      "depth": 2
    },
    {
      "id": "mcp-annotations",
      "title": "MCP annotations",
      "depth": 2
    },
    {
      "id": "calling-this-tool",
      "title": "Calling this tool",
      "depth": 2
    }
  ],
  "sources": [
    "server/ai-proposal-tools.ts"
  ],
  "contract": {
    "name": "onf_stage_ai_action",
    "description": "Propose a non-graph mutating ONF tool call for separate user approval. Supply its exact existing tool name and arguments plus a clear summary. Does not perform the action. Direct graph edits must use stage_ai_graph_changes; uncertain approved actions are never automatically retried.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "proposalId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "grant": {
          "type": "string",
          "minLength": 32,
          "maxLength": 128
        },
        "toolName": {
          "type": "string",
          "pattern": "^onf_[a-z0-9_]+$"
        },
        "args": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        },
        "summary": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000
        }
      },
      "required": [
        "proposalId",
        "grant",
        "toolName",
        "args",
        "summary"
      ]
    },
    "annotations": {
      "readOnlyHint": false,
      "destructiveHint": false,
      "idempotentHint": false,
      "openWorldHint": false
    },
    "source": {
      "file": "server/ai-proposal-tools.ts",
      "line": 24
    }
  }
}
