wp_list_shortcodes
List all shortcodes used in a WordPress page by providing page ID or slug. Filter by tag to inspect specific shortcodes and understand page structure.
Instructions
Parse and list all shortcodes found in a page's content. Useful for understanding page structure.
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_list_shortcodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | Page ID | |
| page_slug | No | Page slug | |
| filter_tag | No | Only list this shortcode tag |