Tools Catalog / Plugin integrations / WPCode / Code Snippets / Woody / snippet_list

snippet_list tool reference for WPCode / Code Snippets / Woody

Sensitive read
Group WPCode / Code Snippets / WoodyCapability manage_options

lists snippets with limit and offset. It returns ID, title, active state, code type, and location.

Description

lists snippets with limit and offset. It returns ID, title, active state, code type, and location.

What it is for

  • Auditing installed snippets.
  • Seeing what custom code exists.

Example use case

custom code audit.

Sample prompt

List all snippets with their active status so I can review what custom code is running on the site.

Sample response

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

What does snippet_list do?

lists snippets with limit and offset. It returns ID, title, active state, code type, and location.

Does snippet_list modify site data?

It does not write data, but it can expose sensitive plugin or submission details.

Which capability is commonly required?

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

How should snippet_list be used safely?

Restrict by profile and avoid exposing full payloads in shared logs.

Which plugin is required?

WPCode / Code Snippets / Woody must be installed and active in the target WordPress environment.