MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / tool_setup

Function tool_setup

lib/cli/src/crewai_cli/cli.py:1061–1069  ·  view source on GitHub ↗

Connect the agent definition's CrewAI Platform applications. Reads the platform tools listed in the agent definition, validates them on AMP, and saves the Enterprise Action Auth Token to .env.

()

Source from the content-addressed store, hash-verified

1059
1060@tool.command(name="setup")
1061def tool_setup() -> None:
1062 """Connect the agent definition's CrewAI Platform applications.
1063
1064 Reads the platform tools listed in the agent definition, validates them on
1065 AMP, and saves the Enterprise Action Auth Token to .env.
1066 """
1067 from crewai_cli.agent_tools import setup_tools
1068
1069 setup_tools(Path.cwd())
1070
1071
1072@tool.command(name="create")

Callers

nothing calls this directly

Calls 1

setup_toolsFunction · 0.90

Tested by

no test coverage detected