edit_flight_source
Edit Flight Source
Edit a Flight's source code with find-and-replace operations, producing a new version.
edit_flight_source
Edit a Flight's source code with find-and-replace operations, producing a new version.
get_query_guide
Load your organization's query guidance and an overview of available Guides before writing SQL.
query
Execute read-only SQL queries against MotherDuck databases.
run_flight
Trigger an on-demand execution of a Flight using its current version.
list_dives
List all Dives in your MotherDuck workspace.
list_databases
List all databases in your MotherDuck account.
get_flight
Fetch a Flight's metadata and version snapshot, optionally at a historical version.
cancel_flight_run
Cancel an in-progress Flight run.
search_catalog
Fuzzy search across databases, schemas, tables, columns, and shares.
list_tables
List tables and views in a MotherDuck database.
delete_flight
Permanently delete a Flight, its versions, schedule, and run history.
list_columns
List columns of a table or view with types and comments.
list_flight_runs
List the execution history of a Flight, newest first.
update_flight
Update a Flight's source, requirements, config, token, secrets, name, or schedule.
update_dive
Update an existing Dive's title, description, or content.
read_dive
Read a specific Dive by ID, including its full component code.
list_guides
Browse your organization's Guides level by level, grouped by topic.
query_rw
Execute SQL queries that can modify data or schema in MotherDuck.
create_guide
Create a markdown Guide that AI agents use to answer your organization's data questions.
set_guide_access
Change a Guide's visibility between private and organization-wide.
list_macros
List table and scalar macros in a MotherDuck database with their parameters.
save_dive
Save a new Dive to your MotherDuck workspace.
list_flights
List Flights with summary metadata, optionally filtered by keywords.
get_guide
Load a Guide's full content by UUID, optionally pinning a historical version.
view_dive
Load a Dive's source, preview inputs, and MotherDuck app link for a live preview.
list_views
List views in a MotherDuck database with schema, comment, and column count.
delete_dive
Permanently delete a Dive by ID.
list_flight_versions
List the version history of a Flight, newest first.
delete_guide
Soft-delete a Guide while preserving its version history.
list_shares
List database shares that have been shared with you.
get_flight_run_logs
Fetch the logs and run record for a single Flight run.
update_guide_metadata
Change a Guide's title, description, or topic without creating a content version.
edit_guide_content
Apply targeted string replacements to a Guide and save a versioned update.
get_current_user
Get the authenticated MotherDuck user, organization, and account region.
create_flight
Create a new Flight from Python source code, requirements, and an optional schedule.
update_guide
Append a version to an existing Guide with updated content or references.
Query MotherDuck databases, explore catalogs, and manage Dives, Flights, and Guides through native SQL and the PostgreSQL endpoint.
Common questions about connecting Motherduck to AI agents with Metorial.