run_steampipe_query
Execute SQL queries via Steampipe CLI and retrieve results as JSON. Designed for integration with MCP, enabling data retrieval and analysis from Steampipe.
Instructions
Executes a SQL query using the Steampipe CLI and returns the results as a JSON string.
Args: query: The SQL query to execute via Steampipe (e.g., "select login from github_user limit 1"). Ensure the query is valid Steampipe SQL.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
query | Yes |
Input Schema (JSON Schema)
{
"properties": {
"query": {
"title": "Query",
"type": "string"
}
},
"required": [
"query"
],
"title": "run_steampipe_queryArguments",
"type": "object"
}