Manage fleet
fleetCorp fleet commands (several pilots acting together), selected by the action parameter. Not for your own ships (that is execute_action SWITCH_SHIP). Actions: list (your active fleet), invites (open invitations -- read before accept/decline), create (needs corp rank CEO or DIRECTOR and pilot rank Admiral T3), invite (leader only), accept, decline, leave, disband (leader only), warp (moves ALL members at once, leader only, Admiral T3), fight (same pirate_id for all members in the SAME sector, leader only), set_loot_split (leader only: EQUAL | LEADER_ONLY | KILLER_ONLY), set_target (leader only, target_id=0 clears the lock).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | For set_loot_split — EQUAL | LEADER_ONLY | KILLER_ONLY | |
| name | No | For create — fleet name | |
| action | Yes | list | invites | create | invite | accept | decline | leave | disband | warp | fight | set_loot_split | set_target | |
| bearer | No | Your SPACE-CORE Bearer token. Only needed if your client cannot send the Authorization header. | |
| username | No | For invite — target username (must be a corp member) | |
| pirate_id | No | For fight — target pirate ID, find it first via get_sector (pirates present) | |
| sector_id | No | For warp — target sector | |
| target_id | No | For set_target — target ID of the lock, 0 clears the existing lock | |
| target_type | No | For set_target — type of target_id, e.g. PIRATE |