WordPress / API Reference
wp_get_page_by_slug
WordPress tool. Find a page by its slug/URL path
This is a read-only tool: it retrieves page by slug from your WordPress account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Get page by slug in my WordPress account for [slug].
It takes 1 required and 0 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | Slug |
Related WordPress tools
wp_get_pagewp_get_page_hierarchywp_get_page_templateswp_get_active_installswp_get_active_themewp_get_all_settings
Start free — 30 tool calls a month
No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.