core-actionbook
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseActionbook
Actionbook
Pre-computed action manuals for browser automation. Agents receive structured page information instead of parsing entire HTML.
用于浏览器自动化的预计算操作手册。Agent将接收结构化页面信息,而非解析完整HTML。
Workflow
工作流
- search_actions - Search by keyword, returns URL-based action IDs with content previews
- get_action_by_id - Get full action manual with page details, DOM structure, and element selectors
- Execute - Use returned selectors with your browser automation tool
- search_actions - 按关键词搜索,返回带内容预览的基于URL的操作ID
- get_action_by_id - 获取包含页面详情、DOM结构和元素选择器的完整操作手册
- Execute - 将返回的选择器用于你的浏览器自动化工具
MCP Tools
MCP工具
- - Search by keyword. Returns: URL-based action IDs, content previews, relevance scores
search_actions - - Get full action details. Returns: action content, page element selectors (CSS/XPath), element types, allowed methods (click, type, extract), document metadata
get_action_by_id
- - 按关键词搜索。返回内容:基于URL的操作ID、内容预览、相关性评分
search_actions - - 获取完整操作详情。返回内容:操作内容、页面元素选择器(CSS/XPath)、元素类型、允许的方法(click、type、extract)、文档元数据
get_action_by_id
Parameters
参数
search_actions:
- (required): Search keyword (e.g., "airbnb search", "google login")
query - :
type|vector|fulltext(default)hybrid - : Max results (default: 5)
limit - : Filter by source IDs (comma-separated)
sourceIds - : Minimum relevance score (0-1)
minScore
get_action_by_id:
- (required): URL-based action ID (e.g.,
id)example.com/page
search_actions:
- (必填):搜索关键词(例如:"airbnb search"、"google login")
query - :
type|vector|fulltext(默认值)hybrid - :最大结果数(默认值:5)
limit - :按源ID筛选(逗号分隔)
sourceIds - :最低相关性评分(0-1)
minScore
get_action_by_id:
- (必填):基于URL的操作ID(例如:
id)example.com/page
Example Response
示例响应
json
{
"title": "Airbnb Search",
"url": "www.airbnb.com/search",
"elements": [
{
"name": "location_input",
"selector": "input[data-testid='structured-search-input-field-query']",
"type": "textbox",
"methods": ["type", "fill"]
}
]
}json
{
"title": "Airbnb Search",
"url": "www.airbnb.com/search",
"elements": [
{
"name": "location_input",
"selector": "input[data-testid='structured-search-input-field-query']",
"type": "textbox",
"methods": ["type", "fill"]
}
]
}