工具 API
explain_ sql_ statement
Generate the execution plan for a SQL statement. When `analyze` is true, PostgreSQL executes the statement and any side effects. Use `analyze: false` to inspect a statement without executing it. Never analyze potentially destructive SQL autonomously. Do not use when you need query results (use `run_sql` instead).
调用信息
- 工具标识
- mcp-server-neon.explain_sql_statement
- 服务提供方
- Neon
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
sql必填The SQL statement to analyze
project_idThe ID of the project to execute the query against. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
branch_idAn optional ID of the branch to execute the query against. If not provided the default branch is used.
database_nameThe name of the database. If not provided, the default neondb or first available database is used.
analyzeWhether to execute the statement with EXPLAIN ANALYZE. Defaults to false because execution may cause side effects.