Title97/100
Get All Patterns
The title clearly communicates the tool’s action and subject. Keep it concise.
Description79/100
Returns a list of all registered block patterns with metadata. Pattern content is excluded.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
category
Filter by category slug (optional).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
keyword
Filter by keyword (optional, case-insensitive substring match against title and keywords).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare openWorldHint based on the tool’s actual behavior.
{
"title": "Get All Patterns",
"readOnlyHint": true,
"idempotentHint": true,
"destructiveHint": false
}Output schema94/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"title"
],
"properties": {
"name": {
"type": "string",
"description": "Unique pattern name (namespace/slug)."
},
"title": {
"type": "string",
"description": "Human-readable pattern title."
},
"source": {
"type": "string",
"description": "Pattern source (core, plugin, theme, pattern-directory)."
},
"inserter": {
"type": "boolean",
"description": "Whether the pattern appears in the block inserter."
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "Keywords for pattern discovery."
},
"categories": {
"type": "array",
"items": {
"type": "string"
},
"description": "Category slugs this pattern belongs to."
},
"post_types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Post types this pattern is restricted to."
},
"block_types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Block types this pattern is intended for."
},
"description": {
"type": "string",
"description": "Optional pattern description."
},
"template_types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Template types this pattern is intended for."
}
}
}
}
}
}