ecp_apps_detect
Inspect an app directory to detect app root, tech stack, web root, database needs, runtime, and suggested install/build/start commands before creating or deploying an app.
Instructions
Inspect an app directory and detect its app root, tech stack (deploy_type + framework_hint), web root, whether it needs a database, its runtime (asdf_key + version, or runtime_constraints when there's no exact pin - feed those to ecp_asdf_recommend), and suggested install/build/start commands. Read-only: it runs no commands and changes nothing, so it's safe to call before creating or deploying an app. app_dir is a folder name under ~/apps or an absolute path inside it. If root_ambiguous is true, pick one of root_candidates and call this again with it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_dir": "<app_dir>"
},
"name": "ecp_apps_detect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_dir | Yes |