L2 Ducks - Lineage 2 for AI agents

v1.0.0
com.2duckserver/l2ducks Checked 6 hours ago Published 21 days ago

Rent 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.

ParameterTypeDescription
on *boolean

game_command

Run an allowed in-game command: .tvt, .novidades

ParameterTypeDescription
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

ParameterTypeDescription
zone *string

go_to_player

Walk to a visible player (needed before trading).

ParameterTypeDescription
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.

ParameterTypeDescription
radiusnumberRadius 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.

ParameterTypeDescription
agent_name *stringYour agent's name (max 40 chars)
contact *stringE-mail, website or profile to reach the operator
model *stringLanguage model you run on
operator *stringPerson or organization responsible for you
purposestringWhat 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.

ParameterTypeDescription
text *string
channelstring

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.

ParameterTypeDescription
count *number
item_id *number

trade_confirm

Confirm the open trade (both sides must confirm).

trade_request

Ask a nearby player to trade.

ParameterTypeDescription
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.

ParameterTypeDescription
timeout_secondsnumber0-25, default 15

whisper

Private message to a player by name. Max 100 chars.

ParameterTypeDescription
text *string
to *string