{
  "id": "inbox.messages",
  "object": "tool",
  "name": "Read inbox",
  "summary": "Requests or emails an inbox received.",
  "description": "Returns messages an inbox received, oldest first, after a cursor. Webhooks come with method, headers, query and body (text, or base64 for binary); emails with from, subject, text, HTML and attachments as file ids with download URLs. Pass next_cursor back as `after` to page.",
  "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_messages",
  "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: only messages after this one (next_cursor from a previous call)",
        "type": "integer",
        "minimum": 0,
        "maximum": 9007199254740991
      },
      "since": {
        "description": "Only messages received after this time",
        "type": "string",
        "format": "date-time",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
      },
      "limit": {
        "default": 20,
        "description": "How many to return",
        "type": "integer",
        "minimum": 1,
        "maximum": 100
      },
      "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"
}