Write a niche's script (free preview)
preview_niche_scriptWrites the scenes of a plan_required niche for the user to read before the paid run (generate_from_niche with its plan_id). FREE: no go needed. Start with slug, revision, values (and duration_seconds if asked); it waits about 20 s; then follow its next_step. The flow: get_recipe niche-run.
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": "preview_niche_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | The niche's `slug`: starts a preview. | |
| values | No | As on `generate_from_niche`. | |
| plan_id | No | Reads that preview instead (send it alone). | |
| revision | No | The `revision` you read (`list_niches` with `slug`). | |
| duration_seconds | No | One of the niche's `settings.options.durations_seconds`; longer costs more. Only if the user asked; never to save tokens, never carried over. |