get_sfcc_logfile
Retrieve last log file records from SFCC. List all log files or fetch the last N lines from a specific file.
Instructions
Get SFCC last Log file records. If logFileName is not provided list all available log files. If provided, return the last "count" lines from the file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sfcc_logfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | The number of last log lines/records to retrieve.Defaults to 10. | |
| logFileName | No | The name of the log file to retrieve. Keep empty get the list of all log files. |