Skip to main content

tinyfish search query

Run a web search. Returns ranked results with titles, URLs, and snippets.

Flags

Output

Examples


tinyfish fetch content get

Fetch clean, extracted content from one or more URLs. Strips ads, navigation, and boilerplate — returns just the content.
Accepts up to 10 URLs in a single call. Multiple URLs are fetched in parallel server-side.

Flags

Output

When --links or --image-links are set, each result also includes:

Examples


tinyfish agent run

Execute a browser automation. By default the output streams as newline-delimited JSON — one object per event.

Flags

Output modes

One JSON object per line as events arrive. Use this when you want live progress or are piping to another tool.
The default stream also emits STREAMING_URL events (the live browser view) and periodic HEARTBEAT keep-alives.
Pressing Ctrl+C during a streaming run cancels the run server-side before exiting.

tinyfish agent run list

List recent runs.

Flags

Examples


tinyfish agent run get <run_id>

Get the full details of a specific run.
Returns the complete run object including status, result, and metadata.

Flags

Example


tinyfish agent run steps <run_id>

Print the step-by-step trace for a run.

Flags


tinyfish agent run watch <run_id>

Poll a run and print new steps as they arrive. Exits when the run reaches a terminal status.

Flags


tinyfish agent run cancel <run_id>

Cancel a run that is PENDING or RUNNING.

Flags


tinyfish agent batch run

Submit a batch of runs from a CSV file. The CSV must have url and goal columns.

CSV format

Flags

Output

Batches are tracked locally in ~/.tinyfish/batches.json. Use batch list and batch get to check progress.

tinyfish agent batch list

List all locally tracked batches.

Flags

Output


tinyfish agent batch get <batch_id>

Get run results for a batch, including per-run status and extracted data.

Flags

Output


tinyfish agent batch cancel <batch_id>

Cancel all runs in a batch.

Flags

Output


tinyfish browser session create

Spin up a remote browser instance. Returns a CDP (Chrome DevTools Protocol) WebSocket URL for programmatic control.

Flags

Output

Use the cdp_url to connect with Playwright, Puppeteer, or any CDP-compatible client. The base_url can be used for HTTP-based interactions with the session.

Examples


tinyfish profile create

Create a new Browser Context Profile.

Flags

Output

Examples


tinyfish profile import-cookies

Extract cookies from your local Chrome install and upload them to a profile. This lets TinyFish reuse your existing logged-in session without you having to log in again during a run. Use --domain to import cookies for a single site, or --all-domains to import every domain in your Chrome profile in one shot. Exactly one of these flags must be provided — they are mutually exclusive.
Supported on macOS and Linux. Requires Google Chrome to be installed.

Flags

Output

Examples

After importing, pass the profile ID to tinyfish agent run via --use-profile or include use_profile: true + profile_id in your API request to reuse the session.
See Browser Context Profiles for the full workflow.

tinyfish vault connection add

Connect a credential provider (1Password or Bitwarden). Credentials are validated immediately — if they’re invalid, the command fails. Provider secrets are read from environment variables, never passed as flags, so they stay out of shell history.

Flags

Environment variables


tinyfish vault connection list

List all connected vault providers and their status.

Flags


tinyfish vault connection remove <connectionId>

Disconnect a provider. All cached credentials are removed immediately; runs already in progress are not affected.

Flags


tinyfish vault item sync

Pull the latest credentials from all connected providers. Run this after adding new credentials or changing passwords in your vault.

Flags


tinyfish vault item list

List all synced credential items. Each item has an itemId — that’s what you pass to --credential-item-id on agent run.

Flags

Examples

See Vault & Credentials for provider setup instructions and troubleshooting.

Auth commands