Recommend Next RS3 Activity
recommend_next_activityPlan the next RS3 activity, training milestone or unlock prerequisite. Use get_player_quests for progress, get_player_stats for levels, get_wiki_entity_facts for one quest's facts, or search_wiki for references.
Routing: unlock overrides goalType, otherwise goalType overrides inference. targetSkill sets focus, not the planner.
Example: {"goal":"Train Mining","goalType":"skill_training","targetSkill":"Mining","targetLevel":70,"context":{"skills":{"Mining":52}}}. Without a target or goal-specified level, 52 defaults to 55.
Account: caller levels override hiscores; fresh journals override completion claims. Quest comparison needs a public context.username. Membership, gear and bank balances are not fetched.
Setup/privacy: operator RUNESCAPE_RECOMMENDATIONS_ENABLED=true and TYPESAFE_API_KEY. Goal/account context goes to TypeSafe; display-name lookups go to Jagex.
Cost: at most 24 paid Jev calls for quests, three otherwise, including routing. Repeated calls can incur fresh charges. No automatic paid retries; rounds completed before an error may already be billed.
Timing/errors: 55 seconds for routing/non-quest work, plus five minutes for quest comparison. Invalid input/configuration or fatal provider failures return isError/text. HTTP shares 60 requests/IP/minute by default; honor Retry-After on 429.
Freshness: public Wiki reads cache five minutes or six hours by planner. Player journals and decisions are not cached; no game account changes. General activity requires reviewed extracts; withheld text can yield no_match.
Outcomes: needs_context may still include a conditional recommendation; use missingContext to clarify it. no_match means no supported option; goal_met refers to the selected target. Communicate warnings and source conditions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Desired RS3 outcome in plain language, e.g. best Mining quest or train Mining to level 70; not instructions to execute arbitrary tools. | |
| unlock | No | Named unlock such as Invention or Prifddinas. Providing it forces unlock_progression even when goalType says otherwise. Supported evidence covers Invention and bounded PvM/quest-reward targets, not every game unlock. | |
| context | No | Optional known account facts; missing facts are not fabricated. | |
| goalType | No | activity forces a general shortlist using reviewed Wiki extracts; quests compares unfinished journal quests; skill_training selects training milestones; unlock_progression builds unlock prerequisites. Omit to infer from goal. An unlock value overrides this selector. | |
| targetLevel | No | Destination level for skill_training only, not current level or XP. Precedence: this field, then an explicit level in goal, then the next multiple of five above the current level capped at 120. Other planners ignore this field. | |
| targetSkill | No | Exact RS3 skill focus, overriding inferred focus for rewards or training. This does not select a planner; set goalType to force training or quest comparisons. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Caller goal after input normalization. | |
| usage | Yes | Paid Jev rounds, input/output token counts, model names and round budget. | |
| status | Yes | Outcome: recommended proposes a candidate; needs_context requests facts; no_match has no supported option; goal_met means the target is already satisfied. | |
| account | Yes | Resolved account context with caller/public sources and unknown facts preserved. | |
| sources | Yes | Evidence references, retrieval/revision details and attribution where applicable. | |
| warnings | Yes | Data gaps, coverage limits and conditions the caller should communicate. | |
| unlockPlan | No | Named unlock and its prerequisite quest/skill progression, when applicable. | |
| alternatives | Yes | Other supported candidates; not an exhaustive catalogue. | |
| trainingPlan | No | Training target, XP gap, methods and prerequisites when the training planner ran. | |
| questCoverage | No | Quest journal/catalogue comparison coverage, when the quest planner ran. | |
| questDecision | No | Quest selection evidence and eligibility reasoning. | |
| missingContext | Yes | Account facts or target details still needed for a confident plan. | |
| recommendation | Yes | Top candidate or null; the planner-specific recommendation is supported by sources and may remain conditional. | |
| unlockCoverage | No | Unlock evidence coverage and unresolved requirements. | |
| trainingCoverage | No | Training evidence coverage and its limitations. | |
| blockedAlternatives | No | Rejected or blocked candidates with their known conditions. |