set_line_weight
Apply a line weight to a shape and its sub-shapes in Visio by providing a weight value (e.g., '1.5 pt') to control stroke thickness for clear diagrams.
Instructions
Set LineWeight (e.g. '1.5 pt') on a shape and its sub-shapes.
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": {
"shape_id": "<shape_id>",
"weight": "<weight>"
},
"name": "set_line_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | Yes | ||
| shape_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||