upload_attachment
Upload a local file to a page and get attachment metadata, including the URL path for accessing the file.
Instructions
Upload a local file to a page. Returns attachment metadata including the /api/files/:id/:name URL path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Page UUID or slugId | |
| file_path | Yes | Absolute path to a local file |