API Reference

WordPress / API Reference

elementor_set_element_background

Elementor tool. Set background on any Elementor element — color, image, gradient, or video

This is a write tool: it sets element background in your WordPress account. Claude asks you to confirm before it runs.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Set element background in my WordPress account for [page id], [element id].

It takes 2 required and 16 optional parameters.

Parameters

ParameterTypeRequiredDescription
page_idintegerYesPage Id
element_idstringYesElement Id
page_typestringNoPage Type
background_typestringNoBackground Type
colorstringNoColor
image_urlstringNoImage Url
image_idintegerNoImage Id
image_positionstringNoImage Position
image_repeatstringNoImage Repeat
image_sizestringNoImage Size
image_attachmentstringNoImage Attachment
gradient_angleintegerNoGradient Angle
gradient_color_astringNoGradient Color A
gradient_color_bstringNoGradient Color B
gradient_color_a_stopintegerNoGradient Color A Stop
gradient_color_b_stopintegerNoGradient Color B Stop
video_urlstringNoVideo Url
video_fallback_urlstringNoVideo Fallback Url

Related WordPress tools

Start free — 30 tool calls a month

No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.