toolmark-monorepo / @toolmark/tour / Planner
Interface: Planner
Defined in: packages/tour/src/types.ts:55
App-supplied tour planner (e.g. the server agent over the bridge). Planned steps are untrusted: the engine keeps only steps whose tool is visible to caller tour and whose param exists in that tool's input schema.
Methods
plan()
plan(
ctx):Promise<TourStep[]>
Defined in: packages/tour/src/types.ts:60
Plans the steps for a goal. A rejection rejects startTour with the same error.
Parameters
ctx
Goal, mode, the tools visible to caller tour, and the start signal.
Returns
Promise<TourStep[]>