Destroy a QNX target
target_destroyPermanently delete a managed target's mkqnximage directory and its server state. Requires the target name to confirm and rejects symlinks, disallowed names, and unsafe paths.
Instructions
Stop and permanently delete a target this server manages: its mkqnximage directory under the targets dir and its server state. Refuses names outside the allowlist, symlinks and anything that is not an mkqnximage directory directly inside the targets dir. confirm must repeat the target name.
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": {
"name": "<name>",
"confirm": "<confirm>"
},
"name": "target_destroy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Target name such as 'tb' (lowercase letters, digits, '-', '_'); must be inside the server allowlist | |
| confirm | Yes | Must equal name, to confirm the deletion |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||