sac_get_story_detail
Retrieve the structural pages and widgets of a SAC story. Returns parsed JSON or raw body with content type, enabling inspection of page layouts and widget definitions beyond basic metadata.
Instructions
Fetch the structural pages and widgets of a story via the Resources('id')/storyPages OData navigation. Returns the parsed payload when JSON, otherwise the raw body and content type so the caller can decide on next steps. Use this when sac_get_story metadata is not enough — e.g. to inspect widget definitions or page layouts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rawBody | No | Include the raw body string in the response even when a parsed JSON object is available (default: false) | |
| storyId | Yes | The story ID (resource ID) | |
| maxRawChars | No | Cap the raw body length when rawBody is true or when the response is non-JSON (default: 20000) |