contract_search
Search contracts or instruments by symbol, name, or partial query to get matching candidates with conId, symbol, secType, exchange. Filter by security type, currency, or exchange to narrow results.
Instructions
Search for contracts/instruments by query string. Returns matching candidates with conId, symbol, secType, exchange.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "contract_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query (symbol, name, or partial) | |
| secType | No | Security type filter (STK, OPT, FUT, etc.) | |
| currency | No | Currency filter | |
| exchange | No | Exchange filter |