← All toolsDeveloperproject_setupAll editions

SETUP_PROJECT

Clone a git repository, read its README, detect the project stack, and automatically install dependencies and set up the environment. Use this when the user says 'megha setup <url>' or 'download and setup this repo'.

Parameters

NameTypeRequiredDescription
repo_urlstringyesGit repository URL (HTTPS or SSH)
target_dirstringDirectory to clone into (optional, defaults to ~/Projects/<repo-name>)
auto_installbooleanAutomatically install dependencies (default: true)

How to use it

You normally trigger this by describing what you want in chat — the agent selects SETUP_PROJECT automatically. For example:

Try saying
“use project setup to setup …”

In a workflow

As a step in a multi-step workflow DAG:

json
{
  "id": "s1",
  "agent": "project_setup",
  "action": "SETUP_PROJECT",
  "args": {
    "repo_url": "https://example.com",
    "target_dir": "…",
    "auto_install": true
  },
  "depends_on": [],
  "outputs": []
}

Direct call

For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.

bash
curl -X POST http://127.0.0.1:8000/execute_tool \
  -H "Content-Type: application/json" \
  -d '{"tool_name":"SETUP_PROJECT","args":{"repo_url":"https://example.com","target_dir":"…","auto_install":true}}'

Part of the project_setup plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.