style_gradient
Define linear or radial gradients for SVG fill properties by specifying color stops, positions, and coordinates to create custom color transitions.
Instructions
그라디언트를 정의합니다. fill에 url(#id)로 사용합니다.
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": {
"type": "<type>",
"stops": "<stops>"
},
"name": "style_gradient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 그라디언트 타입 | |
| stops | Yes | 색상 정지점 배열 | |
| id | No | 그라디언트 ID | |
| x1 | No | 시작 X (%) - linear only | |
| y1 | No | 시작 Y (%) - linear only | |
| x2 | No | 끝 X (%) - linear only | |
| y2 | No | 끝 Y (%) - linear only | |
| cx | No | 중심 X (%) - radial only | |
| cy | No | 중심 Y (%) - radial only | |
| r | No | 반지름 (%) - radial only | |
| fx | No | 초점 X (%) - radial only | |
| fy | No | 초점 Y (%) - radial only |