Pin a block
pin_blockPins a lesson block from anton.app for a week to a family group or one child, so it appears in their app. Identify the block by project/topic/block or by blockPuid and blockPath.
Instructions
Assigns a lesson block on anton.app: pins it for a week, for the whole family group or for one child, who then sees it in the app. Identify the block by project with topic and block (index or title), as list_topics and get_topic_blocks show them, or directly by blockPuid and blockPath. The week defaults to the current one. Pinning the same block again adds another pin. Returns the pin with groupCode, blockPuid, blockPath, weekStartAt and childPublicId. For a reminder that stays on this machine use assign_lesson instead.
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": "pin_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Group name to operate on. Only needed when the parent belongs to multiple groups. Defaults to the first group or the ANTON_GROUP environment variable. | |
| project | No | Course project ID, e.g. "c-mat-4". Required when not providing blockPuid/blockPath directly. | |
| blockPath | No | Block path, e.g. "/../c-mat-4/topic-07-brueche/block-02-brueche-zuordnen/block". Required when using blockPuid directly. | |
| blockPuid | No | Block PUID, e.g. "c-mat-4/ro9ajj". Use instead of project/topic/block when known. | |
| childName | No | Child name as configured (e.g. "Emma"). Resolved to publicId automatically. | |
| blockIndex | No | 0-based block index within the topic. | |
| blockTitle | No | Partial block title match (case-insensitive). Alternative to blockIndex. | |
| topicIndex | No | 0-based topic index from list_topics. Use with project. | |
| topicTitle | No | Partial topic title match (case-insensitive). Alternative to topicIndex. | |
| weekStartAt | No | ISO date of the Monday of the target week, e.g. "2025-09-01". Defaults to the current week's Monday. | |
| childPublicId | No | Child publicId. Alternative to childName when publicId is known. |