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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wp_read_theme_file"
}
}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 |