snippet_list
List and filter WordPress code snippets by tag, type, active state, or search term, and return the site label needed to copy snippets between sites.
Instructions
List code snippets with their tags, purpose, impact, type, location, active state, portable uid, origin and any last error. Also returns this site's label, which is the handle to use when copying snippets between sites. Read-only.
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": "snippet_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Exact tag match. | |
| active | No | ||
| search | No | Match against name, description and purpose. | |
| snippet_type | No |