1. User asks about train tickets, schedules, or availability within China.
2. Agent extracts origin, destination, date, time, and seat preferences from the user's request.
3. Agent executes the `query.mjs` script with the extracted parameters.
4. The script queries the 12306 API and retrieves train schedule and ticket information.
5. Agent formats the output as HTML or Markdown.
6. Agent presents the formatted information to the user.
7. User reviews the information and provides feedback if needed.