LogoAIPex Docs

Tools Overview

Explore 30+ MCP tools for browser automation

🛠️ 30+ MCP Tools

AIPex provides comprehensive automation capabilities through 30+ specialized MCP (Model Context Protocol) tools. Each tool is designed to handle specific browser automation tasks with AI-powered intelligence.

Tool Categories

Quick Reference

🗂️ Tab Management Tools

ToolDescriptionUse Case
get_all_tabsGet all open tabs across all windowsTab inventory, bulk operations
get_current_tabGet information about the active tabCurrent context awareness
switch_to_tabSwitch to a specific tab by IDNavigation automation
create_new_tabCreate a new tab with specified URLMulti-page workflows
get_tab_infoGet detailed information about a tabTab metadata extraction
duplicate_tabDuplicate an existing tabQuick page duplication
close_tabClose a specific tabCleanup automation
get_current_tab_contentGet visible text contentContent analysis

📄 Page Content & Interaction Tools

ToolDescriptionUse Case
get_page_metadataGet page metadata (title, description, keywords)SEO analysis, page info
extract_page_textExtract text content with word countContent extraction
get_page_linksGet all links from the current pageLink analysis, scraping
search_page_textSearch for text on the current pageFind specific content
get_interactive_elementsGet all interactive elements (optimized)Element discovery
click_elementClick an element using CSS selectorInteraction automation
summarize_pageSummarize page content with key pointsContent analysis
fill_inputFill an input field with textForm automation
clear_inputClear the content of an input fieldForm reset
get_input_valueGet the current value of an input fieldForm validation
submit_formSubmit a form using CSS selectorForm submission
get_form_elementsGet all form elements and input fieldsForm analysis
scroll_to_elementScroll to a DOM element and center itNavigation
highlight_elementPermanently highlight DOM elementsVisual marking

⬇️ Downloads & Files Tools

ToolDescriptionUse Case
download_text_as_markdownDownload text content as markdown fileContent export
download_imageDownload an image from base64 dataImage saving
download_chat_imagesDownload multiple images from chatBatch download
download_current_chat_imagesDownload all images from current AI chatChat export

📸 Screenshot Tools

ToolDescriptionUse Case
capture_screenshotCapture screenshot of current visible tabVisual documentation
capture_tab_screenshotCapture screenshot of a specific tab by IDMulti-tab capture
capture_screenshot_to_clipboardCapture screenshot and save to clipboardQuick sharing

Tool Usage Examples

Tab Management Example

// Get all open tabs
const tabs = await get_all_tabs();

// Switch to a specific tab
await switch_to_tab(tabId);

// Create a new tab
await create_new_tab("https://example.com");

Page Interaction Example

// Extract page text
const text = await extract_page_text();

// Click an element
await click_element("button.submit");

// Fill a form
await fill_input("input[name='email']", "user@example.com");
await submit_form("form#contact");

Download Example

// Download page content as markdown
await download_text_as_markdown(content, "page-content.md");

// Download an image
await download_image(base64Data, "screenshot.png");

Screenshot Example

// Capture current tab
await capture_screenshot();

// Capture specific tab
await capture_tab_screenshot(tabId);

// Copy to clipboard
await capture_screenshot_to_clipboard();

Natural Language Commands

Instead of using tools directly, you can use natural language commands:

# Tab management
"Close all tabs except the current one"
"Switch to the tab with 'GitHub' in the title"
"Open a new tab with google.com"

# Page interaction
"Click the submit button"
"Fill the email field with user@example.com"
"Scroll to the footer"

# Data extraction
"Get all links from this page"
"Extract the main content"
"Summarize this article"

# Screenshots
"Take a screenshot of the entire page"
"Capture this element"

Tool Performance

All tools are optimized for performance:

  • Fast Execution: Most tools complete in < 100ms
  • 🎯 Accurate: AI-powered element detection
  • 🔄 Reliable: Automatic retry and error handling
  • 📊 Scalable: Handle large pages and many tabs

Advanced Features

Batch Operations

Execute multiple tools in sequence:

// Research workflow
await create_new_tab("https://example.com");
const text = await extract_page_text();
const summary = await summarize_page();
await download_text_as_markdown(summary, "research.md");

Error Handling

All tools include built-in error handling:

try {
  await click_element("button.submit");
} catch (error) {
  console.error("Element not found:", error);
}

Next Steps

Pro Tip: Combine multiple tools to create powerful automation workflows. The AI will automatically chain tools together based on your natural language commands.