Analyze and upload to the server
statica_uploadAnalyzes an entire project and publishes the results to the STATIC server as a new team-visible revision; call only when the user explicitly requests an upload or publish.
Instructions
Analyze the whole project and upload the result to the STATIC server as a new revision the whole team sees. Holds a licence slot and takes time. Call ONLY when the user explicitly asks to upload or publish results to the server; never as a follow-up to pre-analyze, a scope change or NO_CHANGES. returncode 113: the project is already being analyzed; 114: licence limit reached - ask the user to retry later. If ok is false, do not say the upload happened.
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": "statica_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parallel | No | Analyzer parallelism. Omit for the default. | |
| projectDir | Yes | Absolute path of the project directory being analyzed (usually the session's working directory). |