Skip to main content
Zurück zum MCP-Tool-Katalog management_exercise_bundle JSON-RPC 2.0 • tools/call

Exercise Bundle & Circuit Manager

Full CRUD management for exercise bundles (`/_mcp/management/exercise-bundle`) including ADD_EXERCISE_TO_BUNDLE, UPDATE_EXERCISE_IN_BUNDLE, REMOVE_EXERCISE_FROM_BUNDLE, LIST_BUNDLE_TYPES, categories, tags, and S3 media.

Nazwa narzędzia MCP management_exercise_bundle
Endpoint HTTP / Stream https://www.dietspremium.com/_mcp/management/exercise-bundle
Mostek CLI (stdio) npx -y dietspremium-mcp
Kontrakt Wejściowy (JSON Schema)

Eingabeparameter-Schema (inputSchema)

5 Feldname
Feldname JSON-Typ Status Beschreibung Beispielwert
action string Erforderlich Action: GET_CREATION_GUIDE, LIST_BUNDLES, GET_BUNDLE, CREATE_BUNDLE, UPDATE_BUNDLE, DELETE_BUNDLE, DEACTIVATE_BUNDLE, ADD_EXERCISE_TO_BUNDLE, UPDATE_EXERCISE_IN_BUNDLE, REMOVE_EXERCISE_FROM_BUNDLE, LIST_BUNDLE_TYPES, LIST_CATEGORIES, LIST_TAGS, GET_MEDIA, ADD_MEDIA, REPLACE_MEDIA, DELETE_MEDIA LIST_BUNDLES
payload object Optional Bundle key (bundle_key), name_pl/de/en, exercises, assign_key, exercise_key, sets, reps, rest, categories, tags, image_base64 {}
locale string Optional Language locale pl
page integer Optional Page number (max 10 items per page) 1
max_results integer Optional Items per page (1-10) 10

JSON-RPC 2.0 Aufruf (tools/call)

management_exercise_bundle
terminal — tools/call management_exercise_bundle
JSON-RPC 2.0 REQUEST
npx -y dietspremium-mcp --url https://www.dietspremium.com/_mcp
curl -X POST https://www.dietspremium.com/_mcp/management/exercise-bundle \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_MCP_KEY" \
  -d '{
  "action": "LIST_BUNDLES",
  "page": 1,
  "locale": "pl"
}'

Antwortstruktur des MCP-Tools

application/json • UTF-8
response — management_exercise_bundle (JSON-RPC 2.0)
MCP Response 200 OK
{
  "status": "success",
  "action": "LIST_BUNDLES"
}
Kroki wykonania dla management_exercise_bundle MCP Flow

Instrukcja integracji dla programistów i agentów AI

1
Walidacja argumentów wejściowych (management_exercise_bundle) management_exercise_bundle

Przekaż parametry zgodne z tabelą obok (np. locale="de").

2
Odczyt wyniku i klucza Base64 (key) McpKeyCodec

Każdy zwrócony rekord posiada pole "key" (Base64), które można bezpiecznie przekazać do narzędzi management_*.

Subagent_management_exercise_bundle Ready

Specjalizowany Agent dla narzędzia management_exercise_bundle

MCP v2.0 Tool Runner
Prompt Wejściowy Agenta AI

“Wykonaj zapytanie do narzędzia management_exercise_bundle dla języka DE i zwróć ustrukturyzowane dane kliniczne.”

Wykorzystywane Narzędzia MCP / Endpointy
management_exercise_bundle
Ślad Wywołania (Execution Trace)
→ POST https://www.dietspremium.com/_mcp/management/exercise-bundle (tool: "management_exercise_bundle")
← 200 OK (5 zwalidowanych parametrów)

Weitere MCP-Server-Tools

Pełny katalog MCP →

Teilen