Skip to content

Metadata Explorer

Metadata Explorer defines the schema context Genie uses for generation and analysis. It can also be used to manually select or enhance the context available to AI.

Metadata Explorer panel with context guidance copy

Manual selection can speed up discovery and make Genie’s work more precise. It is optional for AGENT: AGENT should normally navigate available metadata and MCP resources automatically before asking you to select context.

LabelDescription
ExpandToggle normal/expanded panel width.
RefreshPull latest schema from FileMaker.
ClearRemove all selections.
PreviewOpen selected metadata JSON in Viewer.
CloseClose the Metadata Explorer panel.
  • You can drag the explorer edge to resize the panel.
  • In Tables, one table can be marked as the active focus.
  • When a table is active, the Fields section emphasizes fields from that table.
  • This helps narrow prompts and reduce field ambiguity.
  • Tables
  • Fields
  • Relationships
  • Layouts
  • Scripts
  • Value Lists
  • Custom Functions

Each section supports:

  • Search
  • All / None bulk actions
  • Per-item checkbox selection

In the Layouts section, each layout row includes a small Select fields on this layout button. Use it when a prompt depends on the fields that are actually available on a specific FileMaker layout.

Select fields on this layout button in Metadata Explorer

When you click the button, Genie:

  • selects the layout
  • reads the fields available on that layout
  • selects the matching fields in Fields
  • keeps the selected table, layout, and field context together for prompts and # autocomplete

This is useful for layout-aware CODE, QUERY, and DATA work where a table has many fields but only some are available or relevant on the target layout.

The Relationships section shows read-only relationship metadata for the current FileMaker file. Use it when a prompt depends on how table occurrences connect, which fields are used for joins, or whether related-record options are enabled.

Relationship list in Metadata Explorer

Each relationship row shows the relationship name and a compact join summary. Click the info button to open the relationship details view.

Relationship details in Genie

The details view shows:

  • left and right table occurrences
  • join predicates
  • relationship options such as create related records and delete related records
  • a copy action for sharing the relationship summary

Relationship selections help CODE, QUERY, DATA, and Local MCP agents understand the existing graph. They do not create or edit FileMaker relationships.

In Scripts, use the Add script to edit context button to attach a known script directly from Metadata Explorer.

Quick add script to edit context button in Metadata Explorer

This avoids clipboard-based capture when the script is already known to Genie. Use Add Selection when you need the current live Script Workspace selection instead.

The Metadata Explorer selection drives # autocomplete in the composer. If you type # and do not see the table, field, layout, script, or custom function you expected, check the current explorer selection first.

  • Use Refresh after schema changes in FileMaker.
  • Select the relevant metadata before sending prompts that depend on exact names.
  • Use Preview to confirm what Genie will receive as schema context.
  • Import custom functions when your prompt depends on project-specific calculation helpers.

If required metadata is missing, Genie may ask before generating CODE, QUERY, or DATA output. Advisory gaps can still produce a draft, but Genie should not silently invent unknown fields or functions.

Use Preview to verify exactly what will be sent as schema context.

MetaData Preview.png

Import custom functions so Genie can reason with your real function definitions.

  • Better parameter and return-value usage.
  • Fewer placeholder calculations.
  • Better reuse of existing logic.
  1. Click Import in Custom Functions.
  2. Follow the dialog instructions in FileMaker.
  3. Select functions (Cmd+A or manual selection).
  4. Return to Genie and confirm import.

ImportCustomFunctions.png SelectFunctions.png ImportResults.png

Custom Functions are saved per project. Re-importing updates existing imported functions and keeps the project copy in sync.

See: Project Guidance