mysql-get-query-plan Tool

A “mysql-get-query-plan” tool gets the execution plan for a SQL statement against a MySQL database.

About

A mysql-get-query-plan tool gets the execution plan for a SQL statement against a MySQL database.

mysql-get-query-plan takes one input parameter sql_statement and gets the execution plan for the SQL statement against the source.

Compatible Sources

This tool can be used with the following database sources:

Source Name
MySQL Source
Cloud SQL for MySQL Source

Example

kind: tools
name: get_query_plan_tool
type: mysql-get-query-plan
source: my-mysql-instance
description: Use this tool to get the execution plan for a sql statement.

Reference

fieldtyperequireddescription
typestringtrueMust be “mysql-get-query-plan”.
sourcestringtrueName of the source the SQL should execute on.
descriptionstringtrueDescription of the tool that is passed to the LLM.