set_recipe_cover
Set recipe cover
Set a recipe's cover from a ready generation you made (an image for an image recipe, a clip for a video one — the clip's own poster is used), or remove it with generation_id: null. publish_recipe refuses a row with no cover. before_generation_id supplies the input half of a guided recipe's before/after diptych and is optional.
Scope
recipes.write— Writes the account's own recipes; every save is private.
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.
- Stays in the account
- Stays inside the caller's private Kuro account: any media provider it calls acts on Kuro's account, and the result is visible to no one else.
Inputs
recipe_idstring · requireduuid
generation_idstring or null · requiredbefore_generation_idstring · optionaluuid
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_cover",
"arguments": {
"recipe_id": "00000000-0000-4000-8000-000000000000",
"generation_id": "00000000-0000-4000-8000-000000000000"
}
}
}Input schema
As the server sends it in tools/list.
{
"type": "object",
"properties": {
"recipe_id": {
"type": "string",
"format": "uuid"
},
"generation_id": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"before_generation_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"recipe_id",
"generation_id"
],
"additionalProperties": false
}Related tools
- publish_recipe
Put a recipe you own on the public wall under your byline, or take it down with `published: false`.