line_wrap
Wrap long lines of code or text to a specified width (default 80). Optionally break words longer than the width.
Instructions
Wrap long lines of code or text to a specified width.
Parameters:
text — Text or code to wrap lines in.
width — Maximum line width (default: 80).
break_long — Break words longer than width (default: True).
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": {
"text": "<text>"
},
"name": "line_wrap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| width | No | ||
| break_long | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |