set_recipe_gallery

List a generation on its recipe's gallery

Put a ready generation made with a recipe on that recipe's public gallery — the examples a reader sees under the recipe — or take it off with listed: false. Only the account that made it can list it, and only on the recipe it ran — for a run recipe, list the items its run made, not the run's group.

Scope

Behaviour

Writes
Creates or changes items in the caller's own account.
Can delete or overwrite
Can delete, overwrite, cancel or withdraw something the caller already has, so a host should confirm it.
Reaches outside
Shows the caller's chosen generations on a published recipe's public page.
Idempotent
Calling it again with the same arguments has no further effect.

Inputs

Example call

A tools/call request with the required arguments only, each a placeholder read off the schema. Replace them before sending.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_recipe_gallery",
    "arguments": {
      "generation_id": "00000000-0000-4000-8000-000000000000"
    }
  }
}

Input schema

As the server sends it in tools/list.

{
  "type": "object",
  "properties": {
    "generation_id": {
      "type": "string",
      "format": "uuid"
    },
    "listed": {
      "type": "boolean"
    }
  },
  "required": [
    "generation_id"
  ],
  "additionalProperties": false
}

Related tools

Every tool· This page as Markdown