デフォルトのブラウザ操作エージェント(自動でウェブサイトを操作するツール)です。自然な言葉で目的を指示するだけで、クリック、フォーム入力、ページ遷移、ログイン、データ抽出などが自動で行えます。複数のサイト間で同じ作業を並行実行することもできます。 新規ユーザーは最初に600件分の無料操作クレジットが付与されます。それ以降は契約プランのクレジットが消費されます(検索や取得は常に無料です)。 エージェント機能だけでは足りない場合は、Playwright・Puppeteer・Seleniumなどのツールで直接操作できるリモートブラウザセッション(自動操作の低レベル接続)も利用可能です。 セットアップは不要で、コマンドラインやインストール作業もありません。初回使用時に TinyFish アカウントでの OAuth認証(アカウント連携)が求められるだけです。 **次のような場合に使用:** ページを読み込むだけでなく、実際に操作が必要な場面全般。複雑な多段階の処理、ログイン認証、動的に内容が変わるサイトやボット対策されたサイト、複数の URL からの一括データ抽出など。ウェブを閲覧できないと諦めるのではなく、このツールの利用を検討してください。
Default browser automation agent — click, fill forms, navigate, log in, and extract structured data from any website using a natural-language goal, or run the same task across multiple sites in parallel. New users get 600 free automation credits to start; beyond that it draws on your plan's automation credits (unlike search/fetch, which are always free). Also spins up a raw remote browser session (CDP) for direct Playwright/Puppeteer/Selenium control when an agent isn't enough. Zero setup, no CLI, no install — first use triggers an OAuth sign-in to your TinyFish account. Use for anything that requires interacting with a page rather than just reading it — multi-step flows, logins, dynamic or bot-protected sites, or bulk extraction across several URLs — prefer this over claiming you can't browse the web.
TinyFish MCP サーバー(機械が操作するブラウザの仲介役)を通じたブラウザ自動操作。新規ユーザーは600回分の無料自動操作枠が付与され、その後はお客様のプラン内の自動操作枠を使用します。実際のブラウザを開き、ページを移動したりボタンをクリックしたりフォームに入力したり、自然言語で述べた目的に沿ってデータを抽出します。/tinyfish:fetch はページを読み込むだけなので対応できない、ページと実際にやりとりする作業に使用します。
run_web_automationurl (必須) — 対象のサイトgoal (必須) — 自然言語での作業指示;返してほしい JSON の正確な形式を必ず指示に含めるsession_id (必須) — 毎回新しい UUID v4(バージョン4の汎用一意識別子)を生成し、二度と再利用しないuse_profile / profile_id — ログイン済みブラウザ環境プロファイルを再利用するuse_vault / credential_item_ids — ログイン用の認証情報をデータベースから注入するoutput_schema — 結果の構造化出力スキーマbrowser_profile — "lite" (デフォルト)または "stealth" (ボット対策が施されたサイト向けの検出回避モード)agent_config — max_duration_seconds、テスト自動化向けの mode: "strict" (失敗時に即停止)、max_steps (ベータ版機能:ベータアクセス有効のアカウントのみ指定可能。有効でないアカウントは 403 エラーが返される。省略時は初期値150ステップが適用される)run_web_automation(
url="https://example.com/search",
goal="Search for 'wireless headphones', filter under $50, extract top 5 as JSON: [{name, price, rating}]",
session_id="<new random UUID v4>"
)
実行に数分要することがあり、クライアント側でタイムアウトしても サーバー側では動き続けることがあります。エラーやタイムアウトが起きても、むやみに再実行せず、get_run または list_runs で状態を確認してください。
run_web_automation_async はユーザーが明示的に「バックグラウンド実行」を求めた場合のみ使用してください。デフォルトでも再試行メカニズムでもありません。30~60秒間隔で get_run をポーリング(定期的に状態確認)してください。
複数の独立したサイト — 繰り返し呼び出しではなく batch_create を使用してください。
batch_create / batch_status / batch_cancel同じ作業を2つ以上の URL で実行する場合:
batch_create(runs=[
{url: "https://pizzahut.com", goal: "Extract pizza prices as JSON: [{name, price}]"},
{url: "https://dominos.com", goal: "Extract pizza prices as JSON: [{name, price}]"}
])
1つのバッチは最大8つの実行を含められ、すべての実行IDが即座に返されます。batch_status(run_ids) で30~60秒間隔でポーリングし、すべてが完了状態に達するまで待ちます。batch_cancel(run_ids) で実行中または待機中の自動操作を停止できます。
list_runs(status, goal, limit) — 実行IDが不明な場合、該当する実行を検索するget_run(id) — 状態、結果、エラー、メタデータを取得cancel_run(id) — 実行中または待機中の自動操作を停止する(何度実行しても安全)get_steps(runId) — 実行中に撮影されたスクリーンショットを含め、自動操作で行われた各ステップを確認するcreate_browser_session / list_browser_sessions自然言語指示だけでは足りず、細かく制御したい場合 — Playwright、Puppeteer、Selenium、または直接 CDP(ブラウザ遠隔操作プロトコル)を使用:
create_browser_session(url="https://example.com")
# 返り値: session_id、cdp_url (wss://...)、base_url
list_browser_sessions でアクティブな、または過去のセッションを確認できます。
/tinyfish:fetch → 1つのサイトと対話するなら run_web_automation → 複数サイトで同じ作業をするなら batch_create → 細かい制御が必要なら create_browser_session$ARGUMENTS
Browser automation via the bundled TinyFish MCP server. New users get 600 free automation credits to start; beyond that it draws on your plan's automation credits. Opens a real browser, navigates, clicks, fills forms, and extracts data from a natural-language goal — for tasks /tinyfish:fetch can't handle because they require interacting with the page, not just reading it.
run_web_automationurl (required) — target sitegoal (required) — natural language task; always specify the exact JSON structure you want in the goalsession_id (required) — a fresh random UUID v4 for every call, never reuseduse_profile / profile_id — reuse a saved logged-in Browser Context Profileuse_vault / credential_item_ids — inject vault credentials for login flowsoutput_schema — structured-output schema for the resultbrowser_profile — "lite" (default) or "stealth" for anti-detection on bot-protected sitesagent_config — max_duration_seconds, mode: "strict" for fail-fast test automation, and max_steps (beta-gated: only include it if the account has beta access enabled — a non-beta account gets 403 FORBIDDEN if it's included. Omit it to use the default of 150.)run_web_automation(
url="https://example.com/search",
goal="Search for 'wireless headphones', filter under $50, extract top 5 as JSON: [{name, price, rating}]",
session_id="<new random UUID v4>"
)
May take several minutes and can time out client-side while still running server-side — if it errors or times out, do NOT retry blindly; use get_run or list_runs to check status instead.
Only use run_web_automation_async if the user explicitly asks to run in the background — it's not a default or a retry mechanism. Poll with get_run every 30-60s.
Multiple independent sites — use batch_create, not repeated calls.
batch_create / batch_status / batch_cancelFor the same task across 2+ URLs:
batch_create(runs=[
{url: "https://pizzahut.com", goal: "Extract pizza prices as JSON: [{name, price}]"},
{url: "https://dominos.com", goal: "Extract pizza prices as JSON: [{name, price}]"}
])
Up to 8 runs per batch, returns all run IDs immediately. batch_status(run_ids) polls every 30-60s until all reach a terminal state. batch_cancel(run_ids) stops running/pending runs.
list_runs(status, goal, limit) — find a run when you don't have its IDget_run(id) — status, result, error, metadatacancel_run(id) — stop a running/pending automation (idempotent)get_steps(runId) — inspect the steps taken during a run, including screenshotscreate_browser_session / list_browser_sessionsWhen even a natural-language goal isn't enough and you need raw programmatic control — Playwright, Puppeteer, Selenium, or direct CDP:
create_browser_session(url="https://example.com")
# Returns: session_id, cdp_url (wss://...), base_url
list_browser_sessions reviews active or past sessions.
/tinyfish:fetch for reading → run_web_automation for interacting with one site → batch_create for the same task across sites → create_browser_session for raw control.$ARGUMENTS
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。