get_sfra_document
Retrieve detailed SFRA documentation for classes, modules, and models to understand properties, methods, and implementation examples for SFCC development tasks.
Instructions
Get complete SFRA class, module, or model documentation with detailed information about properties, methods, and usage examples. Use this when working with SFRA controllers, middleware, models, or when you need to understand how SFRA components work together. Perfect for implementing SFRA-based features. Now supports all 26+ SFRA documents including core classes, product models, order/cart models, customer models, pricing models, and more.
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": {
"documentName": "<documentName>"
},
"name": "get_sfra_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentName | Yes | The SFRA document name (e.g., 'server', 'request', 'response', 'querystring', 'render', 'cart', 'product-full', 'account', 'billing', 'shipping', etc.). Use get_available_sfra_documents to see all available options. |