Skip to content

@camera.ui/sdk / plugin / AssistantToolSchema

Interface: AssistantToolSchema ​

Defined in: plugin/assistant.ts:16

Input schema of a tool: always an object schema. The model fills the properties, the host passes them to callAssistantTool as parsed JSON.

Properties ​

additionalProperties? ​

optional additionalProperties?: false

Defined in: plugin/assistant.ts:24

Set to false to reject arguments outside properties.


properties ​

properties: Record<string, AssistantToolProperty>

Defined in: plugin/assistant.ts:20

Named arguments the model may pass.


required? ​

optional required?: string[]

Defined in: plugin/assistant.ts:22

Arguments the model has to provide.


type ​

type: "object"

Defined in: plugin/assistant.ts:18

Always object.