Show or hide item texts
set_item_text_visibilityShow texts of the activity as their image alone, or show their text again. Call it ONLY when the user asked for it in their own words: "leave only the flag", "remove the word and keep the picture", "only images in the left column" (hidden), or "put the names back" (shown). Hiding keeps the text stored, so the item can still be named and shown again, and it never touches the image or the audio. Only a text that already has an image can be hidden: when the user wants only images on texts that have none, first add them with illustrate_items and then call this tool in the same turn. Which texts can show only their image depends on the type: "media_targets.image_only" in the activity state lists them; an empty list means the type always shows its texts. Send exactly the texts the user named, up to 40 per call. The result lists in "hidden" or "shown" every text that changed and in "skipped" the ones that could not, with the reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | One entry per text the user named. | |
| visibility | Yes | "hidden": the player sees only the image of those texts. "shown": their text is shown again next to the image. | |
| activity_id | Yes | Id of the activity. |