set_drop_cap
Apply drop cap styling to paragraphs in HWP documents, controlling style, spacing, font, and color.
Instructions
Set drop cap (initial letter decoration) for paragraph.
Args: doc_id: Document ID from open_document style: Drop cap style (0=none, 1=embedded, 2=marginal) spacing: Spacing around drop cap in hwpunits face_name: Font face name face_color: Font color as HWP color value
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": {
"doc_id": "<doc_id>"
},
"name": "set_drop_cap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| doc_id | Yes | ||
| spacing | No | ||
| face_name | No | ||
| face_color | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||