Send one Learn test turn
learn_test_turnSends one cost-confirmed test turn to the Learn API using a developer key and returns the exact reply, safety status, and receipt.
Instructions
Send ONE real test turn to the Learn API with the developer's own key (from this server's environment), as one stable test learner for this project, and return Learn's reply exactly as written (both parts), its safety status and its receipt. Cost: in test mode each turn uses 1 of the workspace's free test attempts (for the life of the workspace, never reset); with a live key, 5¢ per turn that succeeds, and a live key is refused unless allow_live is true. Preparing the session is free; the session is never ended by this tool. First call it without confirm to see the exact cost, tell the developer, and call again with confirm: true only after they agree in the conversation. At most 2 turns per server run. It never retries: if a turn is not confirmed, use learn_lookup_request with the request id it returns. Show Learn's reply to the developer exactly as written; never paraphrase, summarize or correct it.
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": "learn_test_turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | The kind of help: guided (a hint toward the next step; the default), feedback (a check of work included in the message), explain (an explanation of a solution included in the message). | guided |
| confirm | No | Set to true only after the developer has agreed to the cost in this conversation. | |
| message | No | The learner's message, as a learner would write it. Use made-up work, never real learner data. | |
| opening | No | Ask for Learn's generated opening instead of sending a message. It is a turn of its own. | |
| allow_live | No | Set to true only when the developer has said to use a live key, which spends real money. |