skill_import_file
Import a book file (.md, .txt, .html, .epub, .pdf) to create an L4 skill package saved under library/, enabling AI agents to use the book as a guide.
Instructions
Build an L4 skill package from a local book file and save under library/. Path must stay inside the import sandbox (not arbitrary filesystem). Requires ownership_attested=true for user_owned. Prefer EPUB/Markdown over PDF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to .md/.txt/.html/.epub/.pdf under the import sandbox (data/uploads/, library/, skills/, examples/, or BOOK_EXTRA_IMPORT_ROOT). | |
| title | No | Override title. | |
| authors | No | Comma-separated authors. | |
| book_id | No | Optional id slug. | |
| domains | No | Comma-separated domains/tags. | general |
| license_kind | No | Rights class for this import. | user_owned |
| ownership_attested | No | Must be true when license_kind is user_owned (you own a legal copy). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |