Write a question set
text_questionsGenerate a question set from source text, at a chosen difficulty.
15 credits.
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": {
"text": "<text>",
"type": "<type>",
"numberOfQuestions": "<numberOfQuestions>",
"projectId": "<projectId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "text_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The source material to write questions from. | |
| type | Yes | Question format, e.g. `multiple-choice`, `short-answer`, `true-false`. | |
| subject | No | The subject, for correct terminology. | |
| projectId | Yes | The project to file this work under. Required — create one with the `projects_create` tool. A project this workspace does not own answers `not_found`; the work is never silently filed somewhere else. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| difficulty | No | e.g. `easy`, `exam`, `olympiad`. | |
| gradeLevel | No | Who is sitting it, e.g. `undergraduate`. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. | |
| numberOfQuestions | Yes | How many to produce, 1–20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||