Skip to main content

MCP Tools Reference

MCP Tools

Actionbook exposes the following tools through the MCP protocol:

search_actions

Search for actions by keyword. Parameters:
  • query (string): Search keyword
Returns: List of matching actions with metadata

get_action_by_id

Get action content by ActionId. Parameters:
  • actionId (string): The ActionId in format site/{domain}/page/{pageType}/element/{semanticId}
Returns: Action content including selectors and methods

Domain Model

Site -> Page -> Element -> ElementAction
                       \-> Scenario -> ScenarioStep
  • Site: Website domain with metadata
  • Page: Functional page type with URL patterns
  • Element: Interactive UI element with semantic ID
  • ElementAction: Selectors (css, xpath, ariaLabel, dataTestId) and allowed methods
  • Scenario: Complete user operation flow