Read Theme Source File
wp_read_theme_fileRead theme source files and directory listings on the WordPress server, sandboxed to wp-content/themes, to inspect code and discover configuration keys (e.g., Kadence footer-builder options).
Instructions
Read theme source on the server (sandboxed to wp-content/themes) via the Ars Nova Bridge plugin. Directory path -> listing; file path -> contents (cap 500 KB). Use to discover Kadence footer-builder option keys. Requires Bridge plugin active + admin.
Args:
path (string): relative to wp-content/themes (e.g. 'kadence/inc'). Omit to list themes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path relative to wp-content/themes (e.g. 'kadence' or 'kadence/inc/customizer'). Omit to list the themes directory. Directory -> listing; file -> contents. | |
| response_format | No | Output format: 'markdown' for human-readable, 'json' for machine-readable. | markdown |