removeEntity
Remove an entity from a CesiumJS map by its ID. Returns success confirmation or an error message if the entity ID isn't found.
Instructions
Remove one entity created by an entity tool. Returns { success, message? } or { success: false, error } when entityId is not found.
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": {
"entityId": "<entityId>"
},
"name": "removeEntity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entityId | Yes | Entity ID to remove | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| message | No | ||
| success | Yes |