voog_admin_api_call
Perform admin writes (POST, PUT, PATCH, DELETE) on any Voog API endpoint when a typed tool is unavailable. Covers orders, forms, tickets, elements, tags, webhooks, and more.
Instructions
Generic Admin API WRITE passthrough. Forward an HTTP request to https:///admin/api using the configured site's API token. method ∈ {POST, PUT, PATCH, DELETE}; body is JSON-serialised on POST/PUT/PATCH. Use this when no typed tool covers the endpoint (orders, forms, tickets, elements, tags, media_sets, webhooks, etc.). Conservative annotations (destructiveHint=true) — Claude will confirm before calling.
For READS use voog_admin_api_read — this tool no longer accepts method='GET' (removed in v1.5).
⚠️ PUT /media_sets/{id} is replace-not-merge: the assets array you send REPLACES the gallery — any asset omitted is unlinked. To edit asset titles safely use the typed media_set_update_asset_titles tool (GET-then-PUT-full-array); only hand-roll a media_sets PUT when you have the COMPLETE asset list. Same foot-gun as product variants.
⚠️ Ordered assets arrays (/media_sets/{id}, ecommerce /products/{id}) are applied only PARTIALLY by roughly half of single PUTs — 200 either way. Write, read the order back, and repeat if it disagrees, or use the typed tools (media_set_set_assets, product_set_images) which do that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional JSON body for POST/PUT/PATCH. Voog uses different envelope conventions per endpoint — see docs/voog-mcp-endpoint-coverage.md. | |
| path | Yes | Endpoint path starting with '/', e.g. '/forms', '/articles/42', '/redirect_rules/9'. Must NOT be an absolute URL — base host comes from the site config. | |
| site | Yes | Site name from voog_list_sites | |
| method | Yes | HTTP method | |
| params | No | Optional query parameters as a flat string-keyed object, e.g. {'include': 'translations', 'q.page.hidden.$eq': 'true'}. |