apex_add_page_css
Add custom CSS to a specific Oracle APEX page by providing the page ID and CSS rules, which are injected via a hidden PL/SQL region.
Instructions
Add inline CSS to a specific page via a hidden PL/SQL region.
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": {
"page_id": "<page_id>",
"css_code": "<css_code>"
},
"name": "apex_add_page_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Target page ID. | |
| css_code | Yes | CSS rules to inject. Example: ".my-region { border: 2px solid #00995D; border-radius: 8px; } .my-region .t-Region-header { background: #00995D; color: #fff; }" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |