tigergraph__show_query
Retrieve the GSQL text of an installed query to review its logic, debug behavior, or document existing code. Provide the query name to get the full source.
Instructions
Show the GSQL text of an installed query.
Use When: • Reviewing what an installed query does • Debugging query behavior • Understanding existing queries • Documenting installed queries
Quick Start:
{
"query_name": "getPersonFriends"
}Tips: • Returns the full GSQL query text • Query must be installed first • Use 'is_query_installed' to check existence
Related Tools: install_query, get_query_metadata, is_query_installed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Connection profile name. Omit to use the active default profile. Use 'list_connections' to see available profiles. | |
| graph_name | No | Name of the graph. If not provided, uses default connection. | |
| query_name | Yes | Name of the query to show. |