WordPress: Wp theme file read
wordpress_specialist_wp_theme_file_readRead a WordPress theme file as base64 with path and size checks, returning content, MIME type, size, SHA-256, and modification time for safe theme inspection.
Instructions
[UNIFIED] Read a file inside a theme as base64. Returns {content_base64, mime, size, sha256, modified_at}. Path must resolve under wp-content/themes/{theme_slug} (S-16); .., absolute paths, null bytes, and symlinks that escape are rejected by the companion's realpath gate. Files larger than 5 MB return file_too_large (S-18). Requires Airano MCP Bridge v2.14.0+.
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": {
"site": "<site>",
"theme_slug": "<theme_slug>",
"path": "<path>"
},
"name": "wordpress_specialist_wp_theme_file_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| site | Yes | ||
| theme_slug | Yes |