Skip to main content
Glama

wpnav_gutenberg_introspect

Discover available Gutenberg blocks, patterns, and attributes to identify what content elements you can create in WordPress.

Instructions

Introspect Gutenberg capabilities: available blocks, patterns, and attributes. Use this to discover what blocks you can create.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the wpnav_gutenberg_introspect tool. It makes a request to the WordPress REST API endpoint '/wpnav/v1/gutenberg/introspect' and returns the result as formatted JSON text.
    handler: async (args, context) => { const result = await context.wpRequest('/wpnav/v1/gutenberg/introspect'); return { content: [{ type: 'text', text: context.clampText(JSON.stringify(result, null, 2)) }], }; },
  • Input schema for the tool, which requires no parameters.
    inputSchema: { type: 'object', properties: {}, required: [], },
  • Full registration of the wpnav_gutenberg_introspect tool in the tool registry, including definition, handler, and category.
    toolRegistry.register({ definition: { name: 'wpnav_gutenberg_introspect', description: 'Introspect Gutenberg capabilities: available blocks, patterns, and attributes. Use this to discover what blocks you can create.', inputSchema: { type: 'object', properties: {}, required: [], }, }, handler: async (args, context) => { const result = await context.wpRequest('/wpnav/v1/gutenberg/introspect'); return { content: [{ type: 'text', text: context.clampText(JSON.stringify(result, null, 2)) }], }; }, category: ToolCategory.CONTENT, });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/littlebearapps/wp-navigator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server