Context Toolswordpress_get_theme_docs

wordpress_get_theme_docs

Get theme documentation and available template files for the active WordPress theme.

wordpress_get_theme_docs

Get theme documentation and available template files.

Parameters

This tool takes no parameters.

Example call

No parameter is required, so the smallest valid call is empty:

{
  "name": "wordpress_get_theme_docs",
  "arguments": {}
}

Response

{
  "success": true,
  "theme": {
    "name": "My Theme",
    "version": "1.0.0"
  },
  "templates": [
    "front-page.php",
    "page.php",
    "single.php",
    "archive.php"
  ],
  "notes": "Theme-specific docs and template availability"
}

What it changes

Nothing. It only reads, so there is nothing to approve and nothing to undo.

How long it takes

A typical call takes about 1.6 seconds. 19 in 20 finish within 3.0 seconds. Measured on real sites over the last week, so it includes the site's own hosting.

Availability

Works on any WordPress site, whichever page builder it uses. Available since Respira 1.0.0.

Notes

  • Read-only tool - doesn’t modify content
  • Useful before building custom page templates or debugging theme layout issues

Example Prompts

  • "Show me theme docs"
  • "What templates does my active theme include?"
  • "Do we have a custom template for the homepage?"