Plan an AI draft
plan_scriptAsk the AI what it would draft and what it needs to know. Optional, and spends a few hundred of the community's credits. Returns an outline, up to 3 questions for the person (with suggested answers) and the facts the draft needs. Ask the person, then pass plan, answers and session_id to generate_script or create_project. Skip it when the request is already complete. Pass admin_language (the person's language) so the plan and author_notes are written in it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"intent": "<intent>"
},
"name": "plan_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | The goal of the conversation in plain language. | |
| language | No | Language respondents read: any language's name (`French`, `Tagalog`) or a locale code (`fr`). Defaults to a language the intent names, else the community's. | |
| admin_language | No | Language the plan and `author_notes` are written in for the person you work for. Never sets the project's language. Omitted: inferred from the intent, and `notices` say so. | |
| question_count | No | How many questions to draft, 1-20. Omit to let the model choose. |