Create Icon
createIconCreate Icon
Store a public square image as the project icon and sync hosted pages.
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": {
"url": "<url>"
},
"name": "createIcon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public square GIF, JPEG, or PNG URL. At most 5MB, each side 100 to 2000 pixels. Returns 400 if the URL cannot be fetched or the image fails those checks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Application-level status code returned by this API. | |
| data | No | Stored icon image. | |
| success | No | Indicates whether the request completed successfully. |