Add reference images
add_refsUse this when the user wants to keep images as design references: uploaded images or public links to image files, up to 4 per call. Each image is read once and kept as a style description with its layout, color palette (hex), typography, texture and hierarchy; the image itself is not stored. Leave out profile_key to start a new profile, or pass the key from an earlier call to add to it. Returns the profile_key (keep it), what was added and any image that could not be read. It does not open web pages, search for images or identify people.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urls": [
"https://images.example.com/poster.png"
]
},
"name": "add_refs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Public https links that open one image directly (PNG, JPEG, GIF or WebP), at most 4 per call, files and links together. Pages that show an image do not work. | |
| files | No | Images the user uploaded, at most 4 per call (PNG, JPEG, GIF or WebP). | |
| profile_key | No | Leave out to start a new profile; pass the key from an earlier add_refs to add to that profile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | Yes | ||
| as_of | Yes | UTC date of this answer. | |
| failed | Yes | ||
| notice | Yes | ||
| source | Yes | ||
| status | Yes | ||
| refs_max | Yes | ||
| retention | Yes | ||
| refs_total | Yes | ||
| profile_key | Yes |