Optional
configPath to the file output by the llmTools
generator.
Optional
firebaseYour Firebase client SDK config or a FirebaseApp or a FirebaseServerApp. If not provided
the plugin will attempt to use context.firebaseApp
for an in-context app or will fall
back the default app.
Provide a name for the plugin. All tools will have this prefix, e.g. myname/myTool
Optional
onHow to handle errors coming from Data Connect tools:
return
: (default) return the error to the model to allow it to decide how to proceedthrow
: throw an error, halting executionYou may also supply a custom error handler. Whatever is returned from the handler will be returned to the LLM. If you throw an exception from the handler, execution will be halted with an error.
Pass in tool definitions as generated from Data Connect's
llmTools
generator.