{
  "id": "inbox.wait",
  "object": "tool",
  "name": "Wait for message",
  "summary": "Block until the next message arrives.",
  "description": "Waits up to timeout_seconds for the next message after a cursor and returns it, or timed_out: true. Without a cursor it waits for anything new from now on.",
  "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_wait",
  "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"
      },
      "after": {
        "description": "Cursor: wait for a message after this one",
        "type": "integer",
        "minimum": 0,
        "maximum": 9007199254740991
      },
      "timeout_seconds": {
        "default": 60,
        "description": "How long to wait (max 300)",
        "type": "integer",
        "minimum": 1,
        "maximum": 300
      },
      "max_body_chars": {
        "default": 10000,
        "description": "Cut bodies (and email text/html) to this many characters",
        "type": "integer",
        "minimum": 0,
        "maximum": 100000
      }
    },
    "required": [
      "inbox_id"
    ]
  },
  "kind": "tool"
}