Available Tools

Quantish Agent has access to two categories of tools: Local Tools that run on your machine, and MCP Trading Tools that execute on Polymarket.

Local Tools

These tools run directly on your computer and are always available.

File System

read_file filesystem
Read the contents of a file. Supports text files of any size.
write_file filesystem
Write content to a file. Creates the file if it doesn't exist, overwrites if it does.
list_dir filesystem
List contents of a directory with file sizes and types.
delete_file filesystem
Delete a file from the filesystem.
file_exists filesystem
Check if a file or directory exists at the given path.
grep filesystem
Search for a pattern in file contents. Supports regex.
find_files filesystem
Find files matching a pattern (glob) in a directory.

Shell

run_command shell
Execute a shell command and return the output. Supports timeouts and error handling.
start_background_process shell
Start a long-running process in the background (e.g., servers). Returns a process ID for management.
stop_process shell
Stop a background process by its ID.
list_processes shell
List all running background processes with their status.
get_process_output shell
Get the stdout/stderr output from a background process.

Git

git_status git
Get the current git status (staged, unstaged, untracked files).
git_diff git
Show git diff for changes. Can specify files or show all.
git_add git
Stage files for commit. Supports patterns and "." for all.
git_commit git
Create a commit with the specified message.
git_log git
Show commit history with configurable limit.
git_checkout git
Switch branches or restore files.

Web

web_search web
Search the web for information. Uses Exa AI if EXA_API_KEY is set, otherwise falls back to DuckDuckGo.
web_answer web
Get an AI-generated answer with citations. Requires EXA_API_KEY.
fetch_url web
Fetch and extract text content from a URL.

MCP Trading Tools

These tools connect to the Quantish MCP servers for market data and trading.

Discovery Tools (Free)

Available without any setup - uses embedded public API key.

search_markets discovery
Search for prediction markets by keyword across Polymarket, Kalshi, and Limitless.
get_market_details discovery
Get detailed information about a specific market including current prices and outcomes.
get_trending_markets discovery
Get currently trending markets by volume and activity.
get_categories discovery
List available market categories (Politics, Sports, Crypto, etc.).
find_arbitrage discovery
Scan for arbitrage opportunities across markets.

Trading Tools (Requires Wallet)

Requires quantish init to set up your wallet.

get_balances trading
Get your wallet balances (USDC, MATIC) for both EOA and Safe wallets.
get_positions trading
Get all your current positions (shares held in markets).
place_order trading
Place a buy or sell order on a market. Requires conditionId, tokenId, side, price, and size.
cancel_order trading
Cancel an open order by its ID.
get_orders trading
List your orders with optional status filter (LIVE, FILLED, CANCELLED).
get_orderbook trading
Get the order book for a token showing bids and asks.
get_price trading
Get the current midpoint price for a token.
transfer_usdc trading
Transfer USDC from your Safe wallet to another address. Gasless.
swap_tokens trading
Swap between MATIC, USDC, and Native USDC using LI.FI DEX aggregator.
claim_winnings trading
Claim winnings from resolved markets.
get_deposit_addresses trading
Get deposit addresses for funding your wallet (EVM, Solana, Bitcoin).
export_private_key trading
Export your wallet's private key for backup or migration.

Example: Using Tools

You: search for bitcoin markets and show me the most liquid one
✓ search_markets(query: "bitcoin", limit: 10)
 
Found 10 bitcoin-related markets. The most liquid:
 
Bitcoin above $100k by end of 2024?
• Liquidity: $2.3M
• YES: 67% ($0.67)
• NO: 33% ($0.33)
 
You: buy $20 of YES at current price
✓ place_order(side: "BUY", price: 0.67, size: 29)
Order placed! 29 YES shares at $0.67