get_schema
Retrieve the complete definition of a Magento 2 data schema, specifying the structure of request and response data objects.
Instructions
Get the complete definition of a Magento 2 data schema/model. Schemas define the structure of request/response data objects (e.g., quote-data-cart-interface, customer-data-customer-interface).
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": {
"schema_name": "<schema_name>"
},
"name": "get_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_name | Yes | The exact schema name, e.g., 'quote-data-cart-interface' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |