AI Ability Pro since v1.3.0
list_snippets
List Code Glue snippets — List saved Code Glue PHP snippets (id, name, tags — use get_snippet for the code).
$
List saved Code Glue PHP snippets (id, name, tags — use get_snippet for the code). Snippets transform the payload before dispatch (pre) or run side effects after the response (post) once assigned to a webhook+trigger. Registered as the WordPress Ability flowsystems-webhook-actions/list_snippets, so external AI tools (Claude Code, Cursor) can call it over MCP or REST with a scoped API token.
/ Plan step shape
{ "ability": "list_snippets", "input": { "search": … } }
/ Scope & confirmation
Minimum API-token scope for external (MCP/REST) callers: read. Read-only — the agent runs it freely while planning and verifying.
/ Input fields
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| search | param | string | — | Filter by name or code substring. |
/ Examples
Plan step as the AI Builder proposes it
{ "id": "step_1", "ability": "list_snippets", "summary": "…", "input": { "search": "hubspot" } }
/ Related
Ready Your next automation is
Your next automation is
one sentence away.
$ wp plugin install flowsystems-webhook-actions --activate