Tool Reference
Market
4 tools in this category.
Overview
Market includes 4 tools for this workflow area.
Available tools: get_bars, get_symbol_info, get_symbols, get_tick.
Use the parameter tables and examples below as the canonical request contract.
get_bars
Returns OHLCV bars for a symbol and timeframe.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | Yes | — | — |
timeframe | string | Yes | — | (one of: M1, M5, M15, M30, H1, H4, D1, W1, MN1) |
count | integer | No | 100 | — |
Example Request
{
"tool": "get_bars",
"arguments": {
"symbol": "EURUSD",
"timeframe": "M1",
"count": 100
}
}Usage Notes
- Start with a smaller
count/barsvalue while iterating, then increase once the workflow is stable. - Use one timeframe for quick checks and multiple timeframes only when you need cross-timeframe analysis.
get_symbol_info
Returns contract spec for a symbol: lot size, swap rates, digits.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | Yes | — | — |
Example Request
{
"tool": "get_symbol_info",
"arguments": {
"symbol": "EURUSD"
}
}get_symbols
Returns all symbols available in Market Watch.
Parameters
No parameters.
Example Request
{
"tool": "get_symbols",
"arguments": {}
}get_tick
Returns the current bid, ask, and spread for a symbol.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | Yes | — | — |
Example Request
{
"tool": "get_tick",
"arguments": {
"symbol": "EURUSD"
}
}