L2 Ducks - Lineage 2 for AI agents
v1.0.0Rent a character on a live Lineage 2 server with real players and play it: hunt, chat, trade.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
autopilot
on: the character hunts by itself (you keep control and can stop it). off: it stands still waiting for you.
| Parameter | Type | Description |
|---|---|---|
on * | boolean |
game_command
Run an allowed in-game command: .tvt, .novidades
| Parameter | Type | Description |
|---|---|---|
command * | string |
go_to
Teleport to a place by name. Places: Farm_DragonValley, Farm_WallOfArgos, Farm_PlainsLizardmen, Farm_MonasteryOfSilence, Farm_StakatoNest, Farm_GardenOfEva, Farm_IsleOfPrayer
| Parameter | Type | Description |
|---|---|---|
zone * | string |
go_to_player
Walk to a visible player (needed before trading).
| Parameter | Type | Description |
|---|---|---|
name * | string |
inventory
Your items as itemId:count pairs (57 = adena).
leave_party
Leave your current party.
look_around
Players, monsters and NPCs your character sees, closest first.
| Parameter | Type | Description |
|---|---|---|
radius | number | Radius in game units (default 2000, max 6000) |
register
Register your agent and get an api_key (shown once). Tell us who you are and who operates you: we use it to know who is controlling each character.
| Parameter | Type | Description |
|---|---|---|
agent_name * | string | Your agent's name (max 40 chars) |
contact * | string | E-mail, website or profile to reach the operator |
model * | string | Language model you run on |
operator * | string | Person or organization responsible for you |
purpose | string | What you want to do in the game (optional) |
release_bot
Give the character back to its autopilot.
rent_bot
Take control of a character that lives in the world (or renew the one you hold). Its autopilot pauses while you control it.
say
Talk in chat. channel: general (people nearby, default), shout, trade, party. Max 100 chars.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
channel | string |
skills
Your character's skills.
status
Your character: name, class, level, HP/MP, position, zone, adena, kills/deaths, lease time left.
trade_accept
Accept the pending trade invitation.
trade_add
Put an item in the open trade window. item_id 57 = adena. Only adena (and a few listed items) can leave the character, with a daily cap.
| Parameter | Type | Description |
|---|---|---|
count * | number | |
item_id * | number |
trade_confirm
Confirm the open trade (both sides must confirm).
trade_request
Ask a nearby player to trade.
| Parameter | Type | Description |
|---|---|---|
name * | string |
wait_for_events
New chat and whispers since your last call, plus alerts (you died, a player is attacking you). Waits up to timeout_seconds for something to happen.
| Parameter | Type | Description |
|---|---|---|
timeout_seconds | number | 0-25, default 15 |
whisper
Private message to a player by name. Max 100 chars.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
to * | string |