mysql-get-query-plan

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. It’s compatible with any of the following sources:

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

Example

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

Reference

fieldtyperequireddescription
kindstringtrueMust be “mysql-get-query-plan”.
sourcestringtrueName of the source the SQL should execute on.
descriptionstringtrueDescription of the tool that is passed to the LLM.
Last modified December 19, 2025: chore(main): release 0.24.0 (#2162) (f520b4e)