Added
AgentQLPlugin.ExecuteQueryWithDescription(sqlQuery, resultDescription)— a variant ofExecuteQuerywhere the model also supplies a short description of the result set (column meanings, filters, caveats) in the same tool call. Hosts that hand the raw rows to an orchestrator can skip the final prose-generation turn entirely, cutting one model round-trip per question.AgentQLPlugin.LastSuccessfulResult— per-scope capture of the last successful query (CapturedQueryResult: SQL, rows, row count, optional description), so hosts no longer need to wrapExecuteQueryto harvest verified rows for charts or structured replies. Failed queries never overwrite a prior capture; a zero-row success is captured (it is an answer, not a failure).SelfCorrectingChatClientrecognisesExecuteQueryWithDescriptionas a grounding query (newExecuteQueryWithDescriptionToolNameconstant), so the self-correction guard works identically with either execute variant.
Changed
GetDatabaseSchemaworkflow text and the self-correction reminder now refer to "the query execution tool" generically instead of namingExecuteQuery, since hosts may expose either execute variant.
Full Changelog: v0.2.1...v0.3.0