compile_pawn
Compile Pawn scripts for SA-MP servers using pawncc.exe, returning structured error and warning lists to simplify debugging.
Instructions
Compile a .pwn script using pawncc.exe. Returns structured error/warning list.
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": {
"path": "<path>"
},
"name": "compile_pawn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .pwn file to compile |