Preview a card-post composition
compose_card_previewTakes a semantic card spec (title, body, sourceUrl, tags, surfaceMode) and returns a fully-normalized CardPostContent ready to pass to create_memory_post type="card". Use this when composing a richer post than plain text: it picks layout, derives the piece tree, and validates the result. On failure returns {ok:false,reason}. No side effects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| tags | No | ||
| title | No | ||
| mediaUrl | No | ||
| sourceUrl | No | ||
| sourceLabel | No | ||
| surfaceMode | No |