{
  "id": "inbox.update",
  "object": "tool",
  "name": "Update inbox",
  "summary": "Set a secret, extend or relabel.",
  "description": "Changes an inbox: set the signing secret (for example Stripe's whsec_… after registering the URL), extend its expiry, change allowed senders, its label or the static response.",
  "category": "inbox",
  "hosted_by": "Opentools",
  "runtime": "worker",
  "side_effects": false,
  "status": "live",
  "credits": 0,
  "price": "$0.0000",
  "providers": [
    {
      "id": "opentools",
      "name": "Opentools",
      "price": "$0.0000"
    }
  ],
  "mcp_name": "inbox_update",
  "input_schema": {
    "type": "object",
    "properties": {
      "inbox_id": {
        "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)$",
        "description": "An inbox_id from inbox.create_webhook, inbox.create_email or inbox.list"
      },
      "label": {
        "description": "A label to recognise it by in lists",
        "type": "string",
        "maxLength": 120
      },
      "secret": {
        "description": "New signing secret for a verified webhook inbox",
        "type": "string",
        "minLength": 8,
        "maxLength": 256
      },
      "extend_hours": {
        "description": "Push the expiry out by this many hours (up to 30 days from now)",
        "type": "integer",
        "minimum": 1,
        "maximum": 720
      },
      "allowed_senders": {
        "description": "Email inboxes: replace the allowed senders",
        "maxItems": 50,
        "type": "array",
        "items": {
          "type": "string",
          "minLength": 3,
          "maxLength": 254
        }
      },
      "response_status": {
        "description": "Webhook inboxes: status code to answer with",
        "type": "integer",
        "minimum": 200,
        "maximum": 599
      },
      "response_body": {
        "description": "Webhook inboxes: body to answer with",
        "type": "string",
        "maxLength": 10000
      }
    },
    "required": [
      "inbox_id"
    ]
  },
  "kind": "tool"
}