run_bsp_rename
Renames a compiled .bsp and the content packed inside it, such as nodegraph and soundscripts, so the engine still finds them by the new map name. Writes a new file, leaving the original intact.
Instructions
Renames a compiled .bsp AND the content packed inside it -- the nodegraph, cubemap patches, soundscripts, anything under maps//. Renaming the file alone orphans every one of them: the engine looks them up by the map's name, finds nothing, and says nothing, so the symptom is Nextbots that will not path or a missing soundscape rather than an error. Drives ficool2's bsp_rename, which is a separate download; health says whether it is installed. Writes a NEW .bsp beside the old one and leaves the original alone.
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": {
"bsp": "<bsp>",
"newName": "<newName>"
},
"name": "run_bsp_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bsp | Yes | Path to the .bsp, absolute or relative to the repo root. | |
| confirm | No | Required (true) to run this tool: it writes or executes. | |
| newName | Yes | The new map name, without the .bsp suffix. Letters, digits, _ - . only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| bsp | Yes | ||
| note | Yes | ||
| tool | Yes | ||
| newName | Yes | ||
| renamed | Yes | ||
| written | Yes | ||
| exitCode | Yes | ||
| timedOut | Yes | ||
| bytesAfter | Yes | ||
| stdoutTail | Yes | ||
| bytesBefore | Yes |