Add a local assignment
assign_lessonAdds a pending, local lesson assignment for a child to a file on this machine without sending it to anton.app; use pin_block to assign a visible block in the app.
Instructions
Adds a local lesson assignment for a child to the file on this machine, with status pending. It is not sent to anton.app, so the child does not see it; to assign a block in the app use pin_block. Returns the new assignment with its id, which update_assignment and delete_assignment take.
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": {
"childName": "<childName>",
"fileId": "<fileId>"
},
"name": "assign_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional note | |
| fileId | Yes | File id of the lesson level, as get_topic_blocks lists it in levels[].fileId | |
| childName | Yes | Child name as configured, or publicId | |
| lessonTitle | No | Human-readable lesson title (optional) |