Skip to content

SkillResolver

type SkillResolver = (ctx) =>
| SkillLike[]
| SkillStoreLike
| Promise<
| SkillLike[]
| SkillStoreLike>;

Resolves a tenant- or principal-scoped skill set at session start. Called once per session (not per turn) by buildAgentToolSurface; its output is merged into the frozen baseline the same way a statically declared entry is, then persisted so a later turn or a replay reuses the result instead of re-invoking the resolver against a tenant lookup that may have moved on.

Parameter Type

ctx

SkillResolverContext

| SkillLike[] | SkillStoreLike | Promise< | SkillLike[] | SkillStoreLike>