set_fill_resource
Assign a Painter resource to a Fill channel, whole material, or mask Fill. Omit the channel for mask fills so the resource is applied to the target.
Instructions
Assign a Painter resource to one Fill channel, a whole material or a mask Fill.
A Fill inside a mask has no channels, so leave channel out for one.
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": {
"uid": "<uid>",
"resource_url": "<resource_url>"
},
"name": "set_fill_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| channel | No | ||
| resource_url | Yes | ||
| material_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||