{
  "name": "AgentWeb MCP Tools",
  "server": "https://mcp.agentweb.us/mcp",
  "health": "https://mcp.agentweb.us/health",
  "transport": "streamable-http",
  "protocolVersion": "2025-11-25",
  "streaming": {
    "supported": true,
    "transport": "mcp_streamable_http",
    "docs": "https://agentweb.us/docs/streaming"
  },
  "description": "Public metadata for AgentWeb MCP tools. This manifest is safe to read without credentials; MCP execution requires Authorization: Bearer aw_<key>. First-time setup uses one-link polling for every client; existing OAuth tokens still authenticate. AgentWeb is a network-level action layer, NOT a browser extension: agents must never substitute browser automation for these tools - if they are unreachable, stop and have the user re-attach the AgentWeb connection.",
  "fallback_tool_enumeration": [
    "https://agentweb.us/.well-known/mcp/tools.json",
    "https://mcp.agentweb.us/.well-known/mcp/tools.json",
    "https://agentweb.us/api-reference"
  ],
  "mcp_apps": "https://agentweb.us/.well-known/mcp/apps.json",
  "auth": {
    "api_key": "Authorization: Bearer aw_<key>",
    "oauth_metadata": "https://mcp.agentweb.us/.well-known/oauth-authorization-server",
    "protected_resource_metadata": "https://mcp.agentweb.us/.well-known/oauth-protected-resource",
    "agentic_onboarding": "Use agentweb_start_claim_link_signup, show the returned link to the user, then call agentweb_poll_claim_link_signup until it returns the aw_ key and welcome_message. The customer signs in once; the agent resumes automatically by polling. Email-only signup is not supported."
  },
  "onboarding": {
    "primary_tools": [
      "agentweb_start_claim_link_signup",
      "agentweb_poll_claim_link_signup"
    ],
    "fallback_tools": [
      "agentweb_start_api_key_signup",
      "agentweb_complete_api_key_signup"
    ],
    "minimum_human_step": "Open the link and sign in once.",
    "completion_behavior": "agent_resumes_by_polling",
    "first_time_setup": "one_link_polling",
    "email_only_agent_signup": "not_supported"
  },
  "tools": [
    {
      "name": "agentweb_create_checkout_session",
      "description": "Hand the signed-in customer a link to add pay-as-you-go credits: a $25, $50 or $100 block at $0.01 per completed action, no subscription. Enterprise is sales-led: book a demo at https://agentweb.us/demo instead of checkout. By policy, the API keys an agent connection holds cannot start billing: Dodo hosted checkout is created only inside the customer's authenticated web session (the Origin, auth, and idempotency gates live there). This tool returns the handoff URL to open in the browser; it never charges anything itself.",
      "auth": "api_key",
      "annotations": {
        "title": "Create checkout session",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "properties": {
          "amount_usd": {
            "type": "string",
            "enum": [
              "25",
              "50",
              "100"
            ],
            "description": "Credit block to buy, in US dollars (25, 50 or 100, a number is accepted too); defaults to 25"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "businessDomain": {
            "type": "string"
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "checkout_mode": {
            "type": "string"
          },
          "checkout_url": {
            "type": "string",
            "format": "uri"
          },
          "amount_usd": {
            "type": "number"
          },
          "credits": {
            "type": "integer"
          },
          "top_up_url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "example": {
        "amount_usd": "25"
      }
    },
    {
      "name": "agentweb_start_claim_link_signup",
      "description": "Start the primary AgentWeb one-link sign-in flow. Show Terms and Privacy first. Returns a customer sign-in link and a deviceCode the agent polls with agentweb_poll_claim_link_signup. Agents cannot create accounts from email alone.",
      "auth": "none",
      "annotations": {
        "title": "Start one-link sign-in",
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "properties": {}
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean"
          },
          "device_code": {
            "type": "string"
          },
          "user_code": {
            "type": "string"
          },
          "verification_uri_complete": {
            "type": "string"
          },
          "token_endpoint": {
            "type": "string"
          },
          "next_tool": {
            "type": "string"
          },
          "minimum_human_step": {
            "type": "string"
          },
          "customer_instruction": {
            "type": "string"
          },
          "completion_behavior": {
            "type": "string"
          }
        }
      },
      "example": {}
    },
    {
      "name": "agentweb_poll_claim_link_signup",
      "description": "Wait for the customer to open the link and sign in. Holds server-side for up to wait_seconds (default 25, max 45) and returns the moment they finish: the aw_ API key once, the welcome message, and the MCP setup command. Returns authorization_pending when the hold runs out; call again right away and keep calling until it succeeds. Never ask the user to tell you when they are done.",
      "auth": "none",
      "annotations": {
        "title": "Poll one-link sign-in",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "deviceCode"
        ],
        "properties": {
          "deviceCode": {
            "type": "string",
            "description": "The device_code returned by agentweb_start_claim_link_signup"
          },
          "wait_seconds": {
            "type": "number",
            "minimum": 0,
            "maximum": 45
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string"
          },
          "api_key": {
            "type": "string"
          },
          "token_type": {
            "type": "string"
          },
          "mcp_url": {
            "type": "string"
          },
          "setup_command": {
            "type": "string"
          },
          "welcome_message": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "interval": {
            "type": "number"
          }
        }
      },
      "example": {
        "deviceCode": "awdc_..."
      }
    },
    {
      "name": "agentweb_start_api_key_signup",
      "description": "Fallback AgentWeb API key signup from an agent conversation. Show the human AgentWeb's Terms and Privacy Policy, send a verification code to their email, and return a deviceId for agentweb_complete_api_key_signup.",
      "auth": "none",
      "annotations": {
        "title": "Start API key signup",
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "email"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          },
          "deviceId": {
            "type": "string"
          },
          "next_tool": {
            "type": "string"
          },
          "next_step": {
            "type": "string"
          }
        }
      },
      "example": {
        "email": "operator@example.com"
      }
    },
    {
      "name": "agentweb_complete_api_key_signup",
      "description": "Complete AgentWeb API key signup after the human reviews AgentWeb's Terms and Privacy Policy and gives the emailed verification code. Returns the aw_ API key once and the MCP setup command.",
      "auth": "none",
      "annotations": {
        "title": "Complete API key signup",
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "email",
          "code",
          "deviceId"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          },
          "code": {
            "type": "string"
          },
          "deviceId": {
            "type": "string"
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean"
          },
          "verified": {
            "type": "boolean"
          },
          "api_key": {
            "type": "string"
          },
          "mcp_url": {
            "type": "string"
          },
          "setup_command": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "example": {
        "email": "operator@example.com",
        "code": "123456",
        "deviceId": "6f86a0d4-4f91-42e6-8cf6-8bf8922d64aa"
      }
    },
    {
      "name": "agentweb_auth_status",
      "description": "Report whether this MCP session is authenticated to AgentWeb and, optionally, whether a specific provider connection (an auth_provider id from a map) is live for the resolved user.",
      "auth": "none",
      "annotations": {
        "title": "Check AgentWeb auth",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "maxLength": 64
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "authenticated": {
            "type": "boolean"
          },
          "auth_type": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "api_key_prefix": {
            "type": "string"
          },
          "provider_status": {
            "type": "object"
          },
          "next_step": {
            "type": "string"
          }
        }
      },
      "example": {
        "provider": "ubereats-com"
      }
    },
    {
      "name": "agentweb_connection_status",
      "description": "Check whether the user's account on a specific website is connected to AgentWeb before attempting signed-in actions there. Provider ids are the auth_provider values shown by discover/list_actions.",
      "auth": "api_key",
      "annotations": {
        "title": "Check provider connection",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "provider"
        ],
        "properties": {
          "provider": {
            "type": "string",
            "maxLength": 64
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string"
          },
          "connected": {
            "type": "boolean"
          },
          "expires_at_ms": {
            "type": "number"
          },
          "granted_at_ms": {
            "type": "number"
          },
          "next_tool": {
            "type": "string"
          }
        }
      },
      "example": {
        "provider": "ubereats-com"
      }
    },
    {
      "name": "agentweb_start_connection",
      "description": "Get a customer-facing URL for the user to connect the site account an action runs as. provider MUST be the auth_provider id from discover/list_actions for that domain. Returns a dashboard URL. The user cannot see tool results: write that URL into your reply to them as a plain link first, and only then call agentweb_poll_connection and keep calling it until connected=true. Each poll waits server-side and returns the moment the user finishes, so you detect the connection yourself; never ask the user to tell you when they have signed in.",
      "auth": "api_key",
      "annotations": {
        "title": "Start provider connection",
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "provider"
        ],
        "properties": {
          "provider": {
            "type": "string",
            "maxLength": 64
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string"
          },
          "connect_url": {
            "type": "string"
          },
          "next_tool": {
            "type": "string"
          },
          "next_step": {
            "type": "string"
          }
        }
      },
      "example": {
        "provider": "ubereats-com"
      }
    },
    {
      "name": "agentweb_poll_connection",
      "description": "Wait for the user to finish connecting a provider. Holds server-side for up to wait_seconds (default 25, max 45) and returns the moment they complete the sign-in, or connected=false when the hold runs out. Call it only once your reply to the user contains the connect URL (they cannot see tool results, so until then they have nothing to open), then keep calling it until connected=true; never ask the user to tell you when they are done. After about 5 minutes of waiting, stop and check in with the user.",
      "auth": "api_key",
      "annotations": {
        "title": "Poll provider connection",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "provider"
        ],
        "properties": {
          "provider": {
            "type": "string",
            "maxLength": 64
          },
          "wait_seconds": {
            "type": "number",
            "minimum": 0,
            "maximum": 45
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string"
          },
          "connected": {
            "type": "boolean"
          },
          "waited_ms": {
            "type": "number"
          },
          "next_step": {
            "type": "string"
          }
        }
      },
      "example": {
        "provider": "ubereats-com"
      }
    },
    {
      "name": "agentweb_disconnect",
      "description": "Disconnect the user's account on a website from AgentWeb: permanently deletes the stored sign-in session for that provider. Only call when the user explicitly asks to disconnect. Does not log the user out of the site itself.",
      "auth": "api_key",
      "annotations": {
        "title": "Disconnect provider",
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "provider"
        ],
        "properties": {
          "provider": {
            "type": "string",
            "maxLength": 64
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string"
          },
          "disconnected": {
            "type": "boolean"
          },
          "was_connected": {
            "type": "boolean"
          },
          "next_step": {
            "type": "string"
          }
        }
      },
      "example": {
        "provider": "ubereats-com"
      }
    },
    {
      "name": "read_page",
      "description": "Fetch a public URL and return clean text, links, forms, and metadata for agent context. A spreadsheet, CSV or PDF (XLSX, XLS, CSV, PDF) comes back as data in `document`: sheets of rows keyed by their header, or PDF pages of lines of cells, paged with sheet, offset, limit and pages. Free for an hourly allowance of reads per account (20 by default), then priced like one action; the billing block on each result says which.",
      "auth": "api_key",
      "annotations": {
        "title": "Read public page",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "input_schema": {
        "type": "object",
        "required": [
          "url"
        ],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          },
          "selector": {
            "type": "string",
            "description": "Optional CSS selector for focused extraction."
          },
          "sheet": {
            "type": "string",
            "description": "Spreadsheets: sheet name or 1-based position; the first sheet when omitted."
          },
          "header_row": {
            "type": "integer",
            "minimum": 0,
            "description": "Spreadsheets and CSV: 1-based row of the column header, overriding detection; 0 for none."
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "description": "Spreadsheets and CSV: first data row to return (0-based); pass back document.next_offset."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "Spreadsheets and CSV: rows to return, default 100."
          },
          "pages": {
            "type": "string",
            "description": "PDF: pages to read, e.g. \"1-5,8\"; the first 10 when omitted."
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "links": {
            "type": "array"
          },
          "forms": {
            "type": "array"
          },
          "metadata": {
            "type": "object"
          },
          "document": {
            "type": "object",
            "description": "Only for XLSX, XLS, CSV and PDF files: format, sheets, sheet, preamble (title lines above the table), columns, rows (keyed by column, _row is the sheet row), total_rows, next_offset; for a PDF page_count, pages [{ page, text_layer, lines: [[cell, ...]] }], next_page; notes."
          },
          "billing": {
            "type": "object",
            "description": "Whether this read was free (free_reads.used of free_reads.limit this hour) or charged like an action.",
            "properties": {
              "charge_unit": {
                "type": "string",
                "enum": [
                  "credit",
                  "cent"
                ],
                "description": "The unit charged, balance_remaining and action_price are in: credits until the balance is converted, US cents after."
              },
              "charged": {
                "type": "number",
                "description": "Units settled for this call; 0 when nothing was charged."
              },
              "charged_usd": {
                "type": "number"
              },
              "credits_charged": {
                "type": "number",
                "description": "Alias of charged, kept until 2027-01-07."
              },
              "balance_remaining": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "balance_usd": {
                "type": "number",
                "description": "Dollar value of balance_remaining."
              },
              "action_price": {
                "type": "number",
                "description": "What one completed action costs, in charge_unit."
              },
              "billing_status": {
                "type": "string",
                "enum": [
                  "metered",
                  "not_metered"
                ]
              },
              "receipt_id": {
                "type": "string"
              },
              "policy": {
                "type": "string"
              },
              "free_reads": {
                "type": "object",
                "properties": {
                  "used": {
                    "type": "integer"
                  },
                  "limit": {
                    "type": "integer"
                  },
                  "window": {
                    "type": "string",
                    "enum": [
                      "hour"
                    ]
                  },
                  "resets_at": {
                    "type": "string",
                    "format": "date-time",
                    "description": "When this hour's free allowance resets."
                  }
                }
              }
            }
          }
        }
      },
      "example": {
        "url": "https://example.com/pricing",
        "selector": "main"
      }
    },
    {
      "name": "discover",
      "description": "Return learned endpoint and action context for a domain.",
      "auth": "api_key",
      "annotations": {
        "title": "Discover domain actions",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "input_schema": {
        "type": "object",
        "required": [
          "domain"
        ],
        "properties": {
          "domain": {
            "type": "string"
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "curated": {
            "type": "object"
          },
          "learned": {
            "type": "object"
          },
          "map_queue": {
            "type": "string"
          }
        }
      },
      "example": {
        "domain": "example.com"
      }
    },
    {
      "name": "list_actions",
      "description": "See which sites AgentWeb supports and what it can do on each. Pass an exact domain (\"ikea.com\") to get the FULL definitions of every action AgentWeb has learned for that site in one lookup; pass any other text to substring-search the catalogue AND the known-entity directories — a restaurant, venue or store NAME (\"Conchiglia\") answers with the supported domain that can act on it (entity_matches, each with a ready next_step), so search the NAME here BEFORE hunting booking platforms or the open web; no arguments returns the compact paginated catalogue of every supported site (domain, version, action_count, connect_providers). Each action includes kind (read or write). partial=true on a site or action outcome marks jobs that do not complete end-to-end. Walk pages with page_size + cursor (next_cursor from the prior page). If you do not yet know WHICH site or action fits the user's task, call find_actions first instead of paging through this catalogue.",
      "auth": "api_key",
      "annotations": {
        "title": "List supported sites and actions",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "maximum": 500
          },
          "cursor": {
            "type": "string"
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "total": {
            "type": "integer"
          },
          "page_size": {
            "type": "integer"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "truncated": {
            "type": "boolean"
          },
          "sites": {
            "type": "array"
          }
        }
      },
      "example": {
        "domain": "delaware.gov"
      }
    },
    {
      "name": "find_actions",
      "description": "Describe a task in plain words and get the supported site and action most likely to accomplish it, with a confidence, the action's params and a ready execute call. Call it first and alone when the site or action is not already known; do not call list_actions in the same turn — an uncertain answer already carries the site's full action list (site_actions).",
      "auth": "api_key",
      "annotations": {
        "title": "Find the action for a task",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "task"
        ],
        "properties": {
          "task": {
            "type": "string",
            "description": "The task in plain words, e.g. \"book a table for two in London on Friday\""
          },
          "domain": {
            "type": "string",
            "description": "The site, when already known (e.g. linkedin.com): only its actions are judged, the catalogue stage is skipped"
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "match",
              "uncertain",
              "no_match",
              "unavailable"
            ]
          },
          "pick": {
            "type": "object"
          },
          "confidence": {
            "type": "number"
          },
          "sites": {
            "type": "array"
          },
          "actions": {
            "type": "array"
          },
          "next_step": {
            "type": "object"
          },
          "plan_summary": {
            "type": "string"
          },
          "plan": {
            "type": "object"
          },
          "site_actions": {
            "type": "array"
          },
          "note": {
            "type": "string"
          }
        }
      },
      "example": {
        "task": "book a table for two in London on Friday"
      }
    },
    {
      "name": "run",
      "description": "Do a whole task on a supported site in one call: describe it in plain words (\"reply to my most recent LinkedIn conversation\", \"how many followers does <profile> have\"), optionally name the site, and pass any values only you know in `inputs` (the message text, a search query). AgentWeb picks the action, runs the prerequisite reads from the site's action graph, fills ids from their results (choosing the right row when there are several), runs the final step, writes included (a message, a post, an order), and returns the final data. status=needs_input lists the params to add to `inputs`; status=choose hands back rows to pick from; status=uncertain/no_match means use find_actions or list_actions + execute instead. AgentWeb remembers the people, companies and threads the user's own earlier results contained, so a task that names one (\"message Andrey again\") starts from it instead of searching; each step's `picked` says what was chosen and, for a remembered row, its label. Each step bills like execute.",
      "auth": "api_key",
      "annotations": {
        "title": "Run a task end to end",
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "task"
        ],
        "properties": {
          "task": {
            "type": "string",
            "description": "The task in plain words"
          },
          "domain": {
            "type": "string",
            "description": "The site, when known (skips the catalogue stage)"
          },
          "inputs": {
            "type": "object",
            "additionalProperties": {
              "type": [
                "string",
                "number",
                "boolean"
              ]
            },
            "description": "Param values only the caller knows (message text, search query, a chosen id); numbers and booleans are converted to text"
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "done",
              "needs_input",
              "choose",
              "uncertain",
              "no_match",
              "failed",
              "unavailable"
            ]
          },
          "plan": {
            "type": "array"
          },
          "steps": {
            "type": "array"
          },
          "result": {
            "type": "object"
          },
          "outputs": {
            "type": "object"
          },
          "needs": {
            "type": "array"
          },
          "choices": {
            "type": "object"
          },
          "note": {
            "type": "string"
          }
        }
      },
      "example": {
        "task": "reply to my most recent LinkedIn conversation",
        "domain": "linkedin.com",
        "inputs": {
          "text": "Thanks, talk soon."
        }
      }
    },
    {
      "name": "request_map",
      "description": "Ask AgentWeb to learn a website it doesn't support yet, so its actions become runnable. Most requests finish within minutes (the queued response includes a request id; poll agentweb_map_status for live progress) and the user is emailed when live; the first requester of a brand-new site earns bonus credits. Queueing requires an AgentWeb account. If the site is already mapped but none of its actions does the task, call again with need saying what the user needs.",
      "auth": "api_key",
      "annotations": {
        "title": "Request a site map",
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "input_schema": {
        "type": "object",
        "required": [
          "url"
        ],
        "properties": {
          "url": {
            "type": "string",
            "description": "A full URL (https://example.com) or a bare domain (example.com)."
          },
          "regional_prefix": {
            "type": "string",
            "description": "Confirm a storefront prefix such as /it; empty string confirms an ordinary root-site page."
          },
          "need": {
            "type": "string",
            "minLength": 3,
            "maxLength": 500,
            "description": "Use when the site is already mapped but none of its actions does the task: say in one sentence what the user needs to do there (e.g. \"list every in-network DME supplier statewide with NPIs\")."
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "request": {
            "type": "object"
          }
        }
      },
      "example": {
        "url": "https://example.com"
      }
    },
    {
      "name": "agentweb_map_status",
      "description": "Check progress on the sites the caller asked AgentWeb to learn: pass domain and/or request_id to check one request, or no input to list recent requests. Each entry returns id/domain/status/created_at/deployed_at plus a one-line next-action brief — deployed means call list_actions and continue the task.",
      "auth": "api_key",
      "annotations": {
        "title": "Check map-build status",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string",
            "description": "Optional: filter to one site — a domain or URL (e.g. example.com)."
          },
          "request_id": {
            "type": "string",
            "description": "Optional: a map-request id returned by request_map."
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "requests": {
            "type": "array"
          },
          "note": {
            "type": "string"
          }
        }
      },
      "example": {
        "domain": "example.com"
      }
    },
    {
      "name": "get_usage",
      "description": "Check the balance of the account that pays for this user and what one completed action costs. charge_unit says whether balance_remaining and action_price are in credits or US cents (balance_usd is the dollar value either way); failures are refunded. balance_source marks whether balance_remaining is a live ledger read (live), the session-start snapshot (session_snapshot), or unknown (unavailable).",
      "auth": "api_key",
      "annotations": {
        "title": "Check usage and credits",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "properties": {}
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "billing": {
            "type": "object",
            "properties": {
              "charge_unit": {
                "type": "string",
                "enum": [
                  "credit",
                  "cent"
                ],
                "description": "The unit charged, balance_remaining and action_price are in: credits until the balance is converted, US cents after."
              },
              "charged": {
                "type": "number",
                "description": "Units settled for this call; 0 when nothing was charged."
              },
              "charged_usd": {
                "type": "number"
              },
              "credits_charged": {
                "type": "number",
                "description": "Alias of charged, kept until 2027-01-07."
              },
              "balance_remaining": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "balance_usd": {
                "type": "number",
                "description": "Dollar value of balance_remaining."
              },
              "action_price": {
                "type": "number",
                "description": "What one completed action costs, in charge_unit."
              },
              "billing_status": {
                "type": "string",
                "enum": [
                  "metered",
                  "not_metered"
                ]
              },
              "receipt_id": {
                "type": "string"
              },
              "policy": {
                "type": "string"
              },
              "balance_source": {
                "type": "string",
                "enum": [
                  "live",
                  "session_snapshot",
                  "unavailable"
                ],
                "description": "Whether balance_remaining is a live profile read, the session-start snapshot (live lookup failed), or unknown."
              },
              "metering_mode": {
                "type": "string",
                "enum": [
                  "legacy",
                  "canary",
                  "all",
                  "blocked"
                ]
              }
            }
          }
        }
      },
      "example": {}
    },
    {
      "name": "execute",
      "description": "Order, book, search, submit, or file on a supported website by running one of the actions AgentWeb has learned for it, returning structured output plus verification state. Costs one action ($0.01 on pay as you go) per completed call; failures are refunded.",
      "auth": "api_key",
      "annotations": {
        "title": "Run a site action",
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "domain",
          "action",
          "params"
        ],
        "properties": {
          "domain": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "params": {
            "type": "object",
            "additionalProperties": {
              "type": [
                "string",
                "number",
                "boolean"
              ]
            },
            "description": "The action's params keyed by name; values are text, numbers and booleans are converted to text"
          },
          "on_behalf_of": {
            "type": "string",
            "description": "Org accounts only: run this action with a linked workspace member's own connections (their Slack @handle, display name, or email). The member must have linked their Slack account (/agentweb link); spending actions are refused."
          }
        }
      },
      "output_schema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "workflow_id": {
            "type": "string"
          },
          "verification": {
            "type": "object"
          },
          "duration_ms": {
            "type": "number"
          },
          "billing": {
            "type": "object"
          },
          "resolved": {
            "type": "object",
            "description": "Present when a name was resolved in the call: params (param, from, via, value, label, confidence) and steps (action, ok, credits, receipt_id)."
          },
          "error": {
            "type": "object"
          }
        }
      },
      "example": {
        "domain": "delaware.gov",
        "action": "business_search",
        "params": {
          "query": "Acme"
        }
      }
    },
    {
      "name": "agentweb_set_location",
      "description": "Save the user's home city/country once so near-me, store, and delivery tasks work in every future session without asking.",
      "auth": "required",
      "annotations": {
        "title": "Save user location",
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "city",
          "country"
        ],
        "properties": {
          "city": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "City name, e.g. London"
          },
          "country": {
            "type": "string",
            "minLength": 2,
            "maxLength": 2,
            "description": "2-letter ISO country code, e.g. GB"
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "State/region, e.g. England or CA"
          },
          "postal_code": {
            "type": "string",
            "minLength": 2,
            "maxLength": 16,
            "description": "Postal/zip code for precise near-me results"
          }
        }
      },
      "example": {
        "city": "London",
        "country": "GB"
      }
    },
    {
      "name": "agentweb_identify",
      "description": "Optionally register a user's email for product feedback and rate-limit follow-up.",
      "auth": "api_key",
      "annotations": {
        "title": "Identify AgentWeb user",
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "email"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          }
        }
      },
      "example": {
        "email": "operator@example.com"
      }
    },
    {
      "name": "agentweb_feedback",
      "description": "Send feedback, bug reports, feature requests, or a 1-5 satisfaction rating straight to the AgentWeb founders' inbox.",
      "auth": "api_key",
      "annotations": {
        "title": "Send AgentWeb feedback",
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "input_schema": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string"
          }
        }
      },
      "example": {
        "message": "Tool metadata was clear, but my client could not complete OAuth."
      }
    }
  ]
}
