MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / delete_action

Function delete_action

backend/tests/api_services/tool/action.py:42–47  ·  view source on GitHub ↗
(action_id: str)

Source from the content-addressed store, hash-verified

40
41
42async def delete_action(action_id: str):
43 headers = get_headers(CONFIG.Authentication)
44 async with aiohttp.ClientSession(headers=headers) as session:
45 request_url = f"{ACTION_BASE_URL}/{action_id}"
46 response = await session.delete(request_url)
47 return ResponseWrapper(response.status, await response.json())
48
49
50async def run_action(action_id: str, payload: Dict):

Callers 1

test_delete_actionMethod · 0.90

Calls 4

get_headersFunction · 0.90
ResponseWrapperClass · 0.90
deleteMethod · 0.45
jsonMethod · 0.45

Tested by 1

test_delete_actionMethod · 0.72