MCPcopy Index your code
hub / github.com/agent0ai/agent-zero / activate_project

Method activate_project

api/projects.py:127–132  ·  view source on GitHub ↗
(self, context_id: str|None, name: str|None)

Source from the content-addressed store, hash-verified

125 return projects.delete_project(name)
126
127 def activate_project(self, context_id: str|None, name: str|None):
128 if not context_id:
129 raise Exception("Context ID is required")
130 if not name:
131 raise Exception("Project name is required")
132 return projects.activate_project(context_id, name)
133
134 def deactivate_project(self, context_id: str|None):
135 if not context_id:

Callers 12

processMethod · 0.95
__new_contextMethod · 0.80
run_taskMethod · 0.80
_handle_projectFunction · 0.80
send_messageFunction · 0.80
_copy_projectFunction · 0.80
processMethod · 0.80
_select_projectFunction · 0.80
_start_new_chatFunction · 0.80
create_contextFunction · 0.80
_start_new_chatFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected