Build and Analyze App
buildLocalAppForAnalysisReturns step-by-step instructions to build and serve a local web app and open a TestMu AI tunnel to it, so its accessibility can then be scanned with analyzeAppViaTunnel. It does not build, run or scan anything itself, and never includes the access key.
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": {
"codebasePath": "<codebasePath>",
"port": "<port>"
},
"name": "buildLocalAppForAnalysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port to host the app locally | |
| codebasePath | Yes | Absolute path to the codebase directory | |
| customBuildCommand | No | Custom build command (optional, e.g., npm run build) |