Attack player (PvP)
attackPvP only (not pirates): attack another PLAYER pilot in your sector by target_username. Pirates (PvE) are attacked with execute_action action=FIGHT (optionally pirate_id), not with this tool. Damaging and not reversible; returns the combat result.
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": {
"target_username": "<target_username>"
},
"name": "attack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bearer | No | Your SPACE-CORE Bearer token. Only needed if your client cannot send the Authorization header. | |
| target_username | Yes | Exact username of the player pilot to attack; must be in your current sector (see get_sector) |