mysql-get-query-plan Tool
A “mysql-get-query-plan” tool gets the execution plan for a SQL statement against a MySQL database.
less than a minute
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
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be “mysql-get-query-plan”. |
| source | string | true | Name of the source the SQL should execute on. |
| description | string | true | Description of the tool that is passed to the LLM. |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.