add_line
Add a line to report items by specifying start coordinates and vector. Optionally set color, thickness, and line style.
Instructions
Add a to /. RDL Line semantics: top/left is the start point; width/height is the offset (vector) to the end point — horizontal line uses height='0in', vertical uses width='0in'. Optional color, line_thickness ('1pt' default), line_style (Solid/Dashed/Dotted/Double/etc.). Returns {name, kind: 'Line'}.
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": {
"path": "<path>",
"name": "<name>",
"top": "<top>",
"left": "<left>",
"width": "<width>",
"height": "<height>"
},
"name": "add_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | Yes | ||
| left | Yes | ||
| name | Yes | ||
| path | Yes | ||
| color | No | ||
| width | Yes | ||
| height | Yes | ||
| line_style | No | ||
| line_thickness | No |