buy
takes cashamount (USD, fractional via cashQty) or quantity (shares, fractional ok). Pass limitprice for a LIMIT order (market by default; LIMIT needs quantity).
How to use it
buy is exposed by the Agentic Trading MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the buy tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Agentic Trading MCP
$
pip install -e ".[dev]"