bricks_get_scripts
Retrieve per-page custom JavaScript and CSS for a WordPress page by supplying its ID. Returns scripts injected via Bricks API Bridge in wp_footer.
Instructions
Get per-page scripts for a WordPress page. Returns custom JS/CSS injected via Bricks API Bridge in wp_footer.
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>"
},
"name": "bricks_get_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | WordPress page/post ID |