manage_query
Create, update, list, or delete SQL queries within a Mode report.
Use **create** to add a new SQL query to a report.
Use **update** to modify an existing query's SQL, name, or data source.
Use **list** to get all queries in a report.
Use **delete** to remove a query from a report.
get_report_run
Retrieve the status and details of a specific report run, including its state, timestamps, and associated query runs.
list_reports
List reports within a Mode workspace. You can filter reports by collection or data source. Supports ordering and filtering by creation or update timestamps.
get_report
Retrieve detailed information about a specific Mode report by its token. Returns the report's name, description, archived status, timestamps, and associated collection.
manage_report_schedule
Create, update, or delete a schedule for a Mode report.
Use **create** to set up a recurring schedule with configurable frequency, time, and timezone.
Use **update** to modify an existing schedule's parameters.
Use **delete** to remove a schedule.
list_datasets
List datasets in the workspace. Filter by collection or data source. Supports ordering by creation or update timestamps.
list_report_runs
List all runs for a given report with filtering and ordering support. Returns a list of run statuses and timestamps.
run_report
Trigger a new execution (run) of a Mode report. Optionally pass parameters to customize the run. Returns the run's token and initial state so you can track its progress.
list_report_schedules
List all scheduled runs configured for a specific Mode report. Returns schedule details including frequency, time, and timezone.
list_members
List all members of the Mode workspace. Returns each member's username, email, name, admin status, and membership state.
list_definitions
List metric definitions in the workspace. Definitions provide a shared vocabulary for key metrics across the organization. Optionally filter by tokens.
list_collections
List all collections (formerly Spaces) in the workspace. Optionally filter to include all collections (including ones the admin has not joined) or only custom collections.
list_data_sources
List all database connections (data sources) configured in the workspace. Returns each data source's name, adapter type, host, database, and port.
manage_dataset
Update or delete a Mode dataset.
Use **update** to change the dataset's name, description, or move it to a different collection.
Use **delete** to permanently remove a dataset.
manage_definition
Create, update, or delete a metric definition in the workspace.
Use **create** to add a new shared metric definition.
Use **update** to modify an existing definition.
Use **delete** to remove a definition.
manage_report
Update, archive, unarchive, or delete a Mode report.
Use **update** to change the report's name, description, or move it to a different collection.
Use **archive** or **unarchive** to soft-delete/restore a report.
Use **delete** to permanently remove a report.
manage_collection
Create, update, or delete a collection (Space) in the workspace.
Use **create** to make a new collection for organizing reports.
Use **update** to rename or change the description.
Use **delete** to remove an empty collection (all reports must be removed first).