get_instrument
Retrieve detailed specifications for a specific trading instrument by name, such as contract terms and market data parameters.
Instructions
Get details for a specific instrument by name
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": {
"instrument_name": "<instrument_name>"
},
"name": "get_instrument"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instrument_name | Yes | Instrument name, e.g. ETH-PERP, BTC-20260328-50000-C |
Implementation Reference
- src/client.ts:113-115 (handler)The getInstrument method in DeriveClient class, which handles the tool logic by sending a POST request to the 'public/get_instrument' endpoint.
getInstrument(params: GetInstrumentParams): Promise<unknown> { return this.post('public/get_instrument', params); } - src/types.ts:12-14 (schema)The GetInstrumentParams interface, which defines the expected input structure for the get_instrument tool.
} export interface GetInstrumentParams { - src/tools.ts:53-53 (registration)The registration of the 'get_instrument' tool in the MCP tools definition file.
name: 'get_instrument',