Create STATIC workspace and wrapper
statica_bootstrap_beginBegins a STATIC project connection: verifies the compiler, creates the workspace, and for C/C++ creates a compiler wrapper for the build; Java/Kotlin also create the server project.
Instructions
Start connecting a project: verify the compiler by running it, then create the STATIC workspace and (C/C++) the compiler wrapper whose wrapperDir the build must be pointed at. Java and Kotlin also create the server project here. Does not edit project files. BEFORE CALLING: read statica_get_guide topic=bootstrap and get the user's approval for the whole connection - it later edits project build settings, runs a full build and creates a project on the shared server. C/C++ needs ide, compiler and compilerPath; other languages pass language and none of those. stage=existing-workspace means a workspace already exists: resume it (bootstrapping) or stop (ready), never start a second one.
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": {
"projectDir": "<projectDir>",
"name": "<name>"
},
"name": "statica_bootstrap_begin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ide | No | C/C++ only: forge ide value from the environments guide. | |
| name | Yes | Workspace name; becomes the server project key. Alphanumerics, at least 3 after dropping leading digits. | |
| input | No | C# only: absolute path of the .sln or .csproj to analyze. | |
| compiler | No | C/C++ only: forge compiler value from the environments guide. | |
| language | No | Project language. Default ccpp (C/C++). | |
| projectDir | Yes | Absolute path of the project directory being analyzed (usually the session's working directory). | |
| buildCommand | No | Build command, if the build is not GUI-only. Omit rather than passing an empty string. | |
| compilerPath | No | C/C++ only: absolute path of the original compiler executable. Never guess it. | |
| csharpTarget | No | C# only: sdk for .NET 5+ / SDK-style projects, else framework (default). | |
| csharpConfiguration | No | C# only: build configuration such as Debug or Release. |