sample_vol_surface
Samples volatility surfaces on a grid from a raw request body, validates inputs, forwards them to the pricing engine, and returns per-result vol IDs, types, and grid sizes.
Instructions
Sample volatility surfaces on a grid (POST /sample-vol-surfaces) from a raw
SampleVolSurfacesRequest body (pricing with the surfaces, queries).
Validated, then forwarded; see the volsample_* examples. summary: per
result vol_id, vol type, grid sizes.
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": {
"body": "<body>"
},
"name": "sample_vol_surface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| request_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||