execute to run a mapped action. Executing mapped actions through execute (MCP) or POST /api/execute (REST) is the core capability.
Every live tool — including
read_page and discover — requires an AgentWeb aw_ API key. Only the signup tools and agentweb_auth_status work anonymously.1. Add the MCP server
AgentWeb exposes a Streamable HTTP MCP server athttps://mcp.agentweb.us/mcp.
2. Connect an AgentWeb account
Before account creation, show the human the Terms and Privacy Policy. Preferagentweb_start_claim_link_signup, show only the returned verification_uri_complete, and poll agentweb_poll_claim_link_signup with the returned deviceCode while the human signs in. The completed poll returns the API key once.
Email-code signup through agentweb_start_api_key_signup and agentweb_complete_api_key_signup remains a fallback. Reconnect with:
3. Read, discover, and select the action
Every live tool, includingread_page and discover, requires the aw_ API key. Use read_page to retrieve accessible page content or discover to inspect AgentWeb coverage for a domain. Do not assume that a mapped domain supports every action on that website.
- Discover AgentWeb with /llms.txt, A2A Agent Card, OpenAPI, and MCP tools.
- If the user has no
aw_key, show them the Terms and Privacy Policy, then callagentweb_start_claim_link_signup, show onlyverification_uri_complete, and pollagentweb_poll_claim_link_signupwith the returneddeviceCodewhile the user signs in. The poll result returns the key,welcome_message, and setup command; sendwelcome_messagein the original conversation. Raw HTTP fallback:POST https://mcp.agentweb.us/agent/identitythenPOST https://mcp.agentweb.us/oauth2/token. Email-only agent signup is not supported. Email-code fallback:agentweb_start_api_key_signupthenagentweb_complete_api_key_signup. A2A agents calltasks/createwithtask_type=start_api_key_signup, thentask_type=complete_api_key_signup. Raw email-code clients can usePOST https://mcp.agentweb.us/api/registerandPOST https://mcp.agentweb.us/api/verify. - Call
list_actionsafter authentication. - Inspect the selected action’s required fields, account requirements, and possible outcomes.
- Before partner execution, call
agentweb_auth_statusoragentweb_connection_status. If Hermes is not connected, callagentweb_start_connection, have the human complete the login view, then poll withagentweb_poll_connection. - If another target site needs a user account, call
agentweb_start_connection, show the returned connection URL to the human, and pollagentweb_poll_connectionuntil the connection is ready. - Run
POST /api/readiness/scanwith a company URL. - When a user asks to install AgentWeb for a repo or business, read Install AgentWeb and call
agentweb_install_agentweb. - Read action catalog for allowed actions, disallowed actions, required fields, auth, payment, and verification rules.
- Use
agentweb_price_setupto understand package, usage meters, and payment-authority requirements. - Before any paid, irreversible, or externally visible action, summarize the exact inputs and obtain the required approval.
- Create checkout only after the customer approves scoped payment authority.
- Wait for Dodo webhook credit fulfillment, then verify install and execute approved Agent Maps.
4. Execute and verify
Call theexecute tool (or POST /api/execute over REST) with the selected action and declared inputs. Execution reserves one credit, runs the mapped action, verifies completion, settles only verified work, and returns a support receipt. Treat the returned status, verification artifact, receipt, or structured failure as the source of truth. Never infer completion only because a request was accepted. If a site is not mapped yet, call request_map to queue a build and poll agentweb_map_status.
Safety rules
- Never place passwords, raw card numbers, unrestricted credentials, or unrelated private conversation content in a tool request.
- Stop when the action is unsupported, unsafe, expired, over a limit, or missing approval.
- Use a first-party API when it already provides the full required workflow and access model.