+### disableBuiltInTools
+
+
+
+Whether to disable the built-in tools. Default is false.
### messageFilter
MessageFilter`} />
@@ -39,13 +54,38 @@ CommandKit invokes this function before processing the message.
A function that selects the AI model to use based on the message.
This function should return a promise that resolves to an object containing the model and options.
-### systemPrompt
+### prepareSystemPrompt
-
+AiContext, message: Message) => Promise<string>`} />
A function that generates a system prompt based on the message.
This function should return a promise that resolves to a string containing the system prompt.
If not provided, a default system prompt will be used.
+### preparePrompt
+
+AiContext, message: Message) => Promise<string>`} />
+
+A function that prepares the prompt for the AI model.
+### onProcessingStart
+
+AiContext, message: Message) => Promise<void>`} />
+
+A function that gets called when the AI starts processing a message.
+### onProcessingFinish
+
+AiContext, message: Message) => Promise<void>`} />
+
+A function that gets called when the AI finishes processing a message.
+### onResult
+
+AiContext, message: Message, result: AIGenerateResult, ) => Promise<void>`} />
+
+A function that gets called upon receiving the result from the AI model.
+### onError
+
+AiContext, message: Message, error: Error) => Promise<void>`} />
+
+A function that gets called when error occurs.
diff --git a/apps/website/docs/api-reference/ai/interfaces/create-tool-options.mdx b/apps/website/docs/api-reference/ai/interfaces/create-tool-options.mdx
new file mode 100644
index 00000000..d124f2bd
--- /dev/null
+++ b/apps/website/docs/api-reference/ai/interfaces/create-tool-options.mdx
@@ -0,0 +1,53 @@
+---
+title: "CreateToolOptions"
+isDefaultIndex: false
+generated: true
+---
+
+import MemberInfo from '@site/src/components/MemberInfo';
+import GenerationInfo from '@site/src/components/GenerationInfo';
+import MemberDescription from '@site/src/components/MemberDescription';
+
+
+
+
+## CreateToolOptions
+
+