Tool Reference
Account
4 tools — auto-generated from the MCP server's tool schemas.
Generated
This page is generated from packages/server/mcp/src/tools/*.ts by pnpm docs:generate-tools. Do not edit it by hand — edit the tool's description/schema in source and regenerate.
get_account_info
Returns account balance, equity, margin, leverage, and currency.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
terminal_id | string | No | — | — |
get_orders
Returns all pending orders.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
terminal_id | string | No | — | — |
get_positions
Returns all open positions with P&L.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
terminal_id | string | No | — | — |
get_trade_history
Returns closed trades with optional date range filter.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
from_date | string | No | — | — |
to_date | string | No | — | — |
limit | integer | No | 100 | — |
terminal_id | string | No | — | — |