engine_schema
Retrieve request and response JSON schemas for a specified pricing engine endpoint to construct valid payloads and prevent errors from omitted required fields.
Instructions
Request and response JSON schema for one engine endpoint.
Args:
endpoint: one of the 24 POST paths, e.g. /price-ois-swap
(leading slash optional). Unknown names return an error that
lists the valid endpoints.
depth: how many levels of $ref to inline (0..8, default 3).
Deeper refs are left as {"$ref": "<Name>", "unresolved": true}.
Returns the spec's top-level required list, the top-level field
names, and both schemas. Remember the engine's rule: a field the
product needs that is omitted is an error, never a default.
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": {
"endpoint": "<endpoint>"
},
"name": "engine_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| endpoint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||