insert_lines
Inserts text after a specified line in a Cosense page. Appends to the end if the target line is not found.
Instructions
Insert lines after the specified target line in a Cosense page. If the target line is not found, append to the end of the page.
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": {
"title": "<title>",
"targetLineText": "<targetLineText>",
"text": "<text>"
},
"name": "insert_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Title of the page to modify | |
| targetLineText | Yes | Text of the line after which to insert new content. If not found, content will be appended to the end. | |
| text | Yes | Text to insert. If you want to insert multiple lines, use \n for line breaks. |