MCPcopy Create free account
hub / github.com/SpaceZephyr/myskill / change_project

Function change_project

libtv-skill/scripts/_common.py:99–105  ·  view source on GitHub ↗

切换当前 accessKey 绑定的项目(调用 libtv 切换项目,后续 create_session 将使用新项目)。 返回 data: { projectUuid }。

()

Source from the content-addressed store, hash-verified

97
98
99def change_project() -> dict:
100 """
101 切换当前 accessKey 绑定的项目(调用 libtv 切换项目,后续 create_session 将使用新项目)。
102 返回 data: { projectUuid }。
103 """
104 resp = api_post("/openapi/session/change-project", {})
105 return resp.get("data", {})

Callers 1

mainFunction · 0.90

Calls 2

api_postFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected