pages_create
Turn plain text into a structured Pages document: first line becomes title, #/## lines become headings, rest is body. Opens it and optionally saves to .pages without overwriting.
Instructions
Create a Pages document with this text and open it on screen.
The document comes out structured rather than flat: the first line becomes
the title, and lines starting with # or ## become headings (the marker
is removed). Everything else is body text.
Args:
text: the document content, with the line breaks it should have.
save_in: path to a .pages file to save to. If empty the document is
only opened, not written to disk. Never overwrites: if the file
exists, the call fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| save_in | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |