report.styleSheets
Style sheet templates and style sheets, with their options.
Lists the style sheet templates (Plain, CSS, Easy, Fancy, Footer, Head or Tail) and the style sheets made from them, with
their options. The predefined style sheets are Default, CSS-based stylesheet (experimental), Easy, Technicolor,
Footer and Head or Tail; yours are added to them. A report is rendered through one by
report.export.
Examples
Example: with no book.
JSON-RPC
Request:
{"jsonrpc":"2.0","id":1,"method":"report.styleSheets","params":{}}
Response:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"templates": [
{
"name": "CSS",
"…": "…"
},
"…"
],
"styleSheets": [
{
"name": "CSS-based stylesheet (experimental)",
"template": "CSS",
"predefined": true,
"…": "…"
},
"…"
]
}
}
Command line
red-ale exec report.styleSheets
It prints:
{
"templates": [
{
"name": "CSS",
"…": "…"
},
"…"
],
"styleSheets": [
{
"name": "CSS-based stylesheet (experimental)",
"template": "CSS",
"predefined": true,
"…": "…"
},
"…"
]
}
MCP tool call
Tool call:
{"name":"report.styleSheets","arguments":{}}
Result:
{
"structuredContent": {
"templates": [
{
"name": "CSS",
"…": "…"
},
"…"
],
"styleSheets": [
{
"name": "CSS-based stylesheet (experimental)",
"template": "CSS",
"predefined": true,
"…": "…"
},
"…"
]
}
}
Effect: read.
Params
Params for methods that take none.
Type: NoParams.
Result
The result of report.styleSheets.
templates(array of TemplateInfo, required): The style sheet templates, sorted by name.styleSheets(array of StyleSheetInfo, required): Every style sheet, sorted by name bytewise.