Files
wehub-resource-sync e04ed9c211
CF: Deploy Dev Docs / deploy (push) Has been cancelled
Sync Labels / build (push) Has been cancelled
tests / unit tests (macos-latest) (push) Has been cancelled
tests / unit tests (windows-latest) (push) Has been cancelled
tests / unit tests (ubuntu-latest) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:32:45 +08:00

49 lines
1.7 KiB
Markdown

---
title: "arcadedb-execute-sql Tool"
type: docs
weight: 2
description: >
Execute SQL queries against ArcadeDB.
---
## About
`arcadedb-execute-sql` executes an arbitrary ArcadeDB SQL statement against an
ArcadeDB source. ArcadeDB supports SQL for document and multi-model queries,
allowing you to query graphs and documents from the same database.
> **Note:** This tool is intended for developer assistant workflows with
> human-in-the-loop and shouldn't be used for production agents.
## Compatible Sources
{{< compatible-sources >}}
## Example
```yaml
kind: tool
name: query_arcadedb_sql
type: arcadedb-execute-sql
source: my-arcadedb-source
description: |
Execute SQL against ArcadeDB.
Example:
{{
"sql": "SELECT FROM Person WHERE name = :name LIMIT 5",
"params": {
"name": "Ada"
},
"dry_run": false
}}
```
## Reference
| **field** | **type** | **required** | **description** |
|-------------|:--------:|:------------:|------------------------------------------------------------------------------------------------|
| type | string | true | Must be "arcadedb-execute-sql". |
| source | string | true | Name of the ArcadeDB source the SQL should execute on. |
| description | string | true | Description of the tool that is passed to the LLM. |
| readOnly | boolean | false | If true, the statement is routed to a read-only endpoint, and ArcadeDB blocks write statements. |