insert_lines
Add text after a specific line in Scrapbox pages on cosense. If the target line isn't found, the text is appended to the end of the page.
Instructions
Insert text after a specified line in a Scrapbox page on cosense (scrapbox). If target line not found, text is appended to the end of the page. Uses example-project project as default if projectName is not specified.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageTitle | Yes | Title of the page to modify | |
| targetLineText | Yes | Text content of the line after which to insert new text. If not found, text will be appended to the end of the page. | |
| text | Yes | Text to insert. Can contain multiple lines separated by newline characters. | |
| projectName | No | Target project name. If not specified, defaults to 'example-project'. |