Put a library picture on a site
use_library_imageCopy a picture from the user's library into a site's draft under images/. Returns the path to use in an . The live site does not change until the site is published.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"id": "<id>"
},
"name": "use_library_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the id of a file in the user's library | |
| name | No | file name in the site, e.g. hero (the extension is kept) | |
| site | Yes | the site's clay.site name (subdomain) or its id |