proofchat

Chat Tools

Enable or disable tools that the assistant can call.

Summary

Note: This script is for advanced use cases. Most teams will configure tools in Settings and never need to edit this script.

Steps

  1. Open the FileMaker Script Workspace.
  2. In ProofChat Integration → Configuration → Optional, edit the script named Configure Chat Tools.
  3. Leave the step that loads the default tools from Settings as‑is. It sets $tools to whatever you configured in Settings → Tools.
  4. (Optional) Modify the $tools variable in this script to add, remove, or reorder tools for this file only.
  5. Exit the script by returning $tools. ProofChat reads the text of this variable to determine which tools are available to the chat.

What this looks like

Configure Chat Tools – return $tools to override settings

Guidance

  • Prefer configuring tools globally in Settings; use this script only when a file needs some specific override.

When to use this override

  • Dynamically enable or disable tools based on the signed‑in user's role or permissions.
  • Toggle tools by environment (e.g., disable data‑changing tools in staging or demos).
  • Temporarily hide unstable or experimental tools without changing global Settings.

How to test it

  1. Open a chat and start a new conversation.
  2. Call a tool you expect to be available; confirm it runs.
  3. Temporarily remove a tool in the script override and start a new chat; confirm it no longer appears or runs.
  4. Restore the original $tools and confirm behavior returns to normal.