ModelTurnTool
@forge/monorepo / backend/src / ModelTurnTool
Type Alias: ModelTurnTool
ModelTurnTool =
object
Defined in: backend/src/models/streaming.ts:115
A tool the model may call this turn. execute is the platform's guarded execution path.
Properties
category?
readonlyoptionalcategory?:string
Defined in: backend/src/models/streaming.ts:128
The tool's category, when the caller knows it — task #244.
Optional and never sent to the provider. It exists so a caller can express a policy about categories —
AgentManifest.toolPolicy.categories names the ones that must stay resident when the catalogue is bounded —
without the engine having to reach back into the registry for a descriptor it was already handed.
description?
readonlyoptionaldescription?:string
Defined in: backend/src/models/streaming.ts:117
inputSchema?
readonlyoptionalinputSchema?:unknown
Defined in: backend/src/models/streaming.ts:119
Zod schema or JSON-schema object; a permissive object schema is used when absent.
name
readonlyname:string
Defined in: backend/src/models/streaming.ts:116
Methods
execute()
execute(
input,options?):Promise<unknown>
Defined in: backend/src/models/streaming.ts:120
Parameters
input
unknown
options?
Returns
Promise<unknown>