Tools Catalog / WordPress tools / wp_get_pages

wp_get_pages tool reference for StifLi Flex MCP

Read-only
Group PagesCapability edit_pages

lists pages with filters for status, search, limit, offset, order, and order field.

Description

lists pages with filters for status, search, limit, offset, order, and order field.

What it is for

  • Auditing existing pages.
  • Finding a page before updating it.

Example use case

locating landing pages.

Sample prompt

List all published pages ordered by title so I can find the current landing pages.

Sample response

{
  "tool": "wp_get_pages",
  "status": "ok",
  "items": []
}

What does wp_get_pages do?

lists pages with filters for status, search, limit, offset, order, and order field.

Does wp_get_pages modify site data?

No. It is a read-only operation and does not modify content or settings.

Which capability is commonly required?

It usually runs under controls compatible with edit_pages and the active MCP profile.

How should wp_get_pages be used safely?

Limit scope with filters and pagination to reduce overexposure of data.