compose_lexical
Compile Koenig content blocks into a Lexical JSON string for preview or inspection without creating a post; validate block files before calling compose_post.
Instructions
Compile Koenig content blocks into a Lexical JSON string without creating a post (for preview/inspection). Same block shape as compose_post.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compose_lexical"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | No | Ordered content blocks (same shape as compose_post), inline. | |
| blockFile | No | Absolute path to a JSON file of blocks. Use to validate a file you are building before calling compose_post. Provide exactly one of `blocks` or `blockFile`. |