get_webex_attachment_action
Retrieve form data submitted when a user clicks an Adaptive Card button. Uses the action ID from a Webex webhook to fetch the submitted inputs.
Instructions
Retrieve the form data submitted when a user clicks an Adaptive Card button.
This MCP server makes outbound calls to Webex — it does NOT receive inbound webhook events. The action_id must be obtained externally: your own bot application (a separate HTTP server with a public HTTPS endpoint) receives the webhook POST from Webex, extracts the "id" field from the payload, and then supplies that action_id here so this tool can fetch the full submission.
Flow: 1. User clicks a card button in Webex. 2. Webex POSTs the event to your bot's registered webhook endpoint. 3. Your bot extracts action_id from payload["data"]["id"]. 4. Your bot (or an AI agent) calls this tool with that action_id. 5. This tool calls GET /attachment/actions/{id} and returns the inputs.
A webhook must be registered via create_webex_webhook with resource="attachmentActions" and event="created" for step 2 to occur — without it, card submissions are silently dropped by Webex.
Args: action_id: ID of the attachment action to retrieve (required). Comes from payload["data"]["id"] in the webhook POST your bot application receives from Webex.
Returns: Standardized response dictionary with success/error information. The data dict contains the submitted form inputs under the "inputs" key, along with the associated messageId, roomId, and personId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action_id | Yes |