MCPcopy
hub / github.com/TaskingAI/TaskingAI / execute

Function execute

plugin/test/api_service/image/image.py:9–12  ·  view source on GitHub ↗
(payload: Dict)

Source from the content-addressed store, hash-verified

7
8
9async def execute(payload: Dict):
10 async with aiohttp.ClientSession() as session:
11 response = await session.post(BASE_URL, json=payload)
12 return ResponseWrapper(response.status, await response.json())

Calls 2

ResponseWrapperClass · 0.90
jsonMethod · 0.45