ig_request
Execute any documented IG REST API call. Set confirm=true for POST, PUT, and DELETE requests to modify accounts, markets, positions, orders, and watchlists.
Instructions
Call any documented IG REST endpoint. All POST, PUT, and DELETE calls require confirm=true.
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": {
"method": "<method>",
"path": "<path>"
},
"name": "ig_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| method | Yes | ||
| params | No | ||
| confirm | No | ||
| version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||