nebula_get_graph_schema
Retrieve the schema for a specified graph type, with an option to include a size-limited DDL string for database setup or validation.
Instructions
Read a Graph Type schema; optionally include a UTF-8 byte-bounded DDL string.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schema": "<schema>",
"graph_type": "<graph_type>"
},
"name": "nebula_get_graph_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | ||
| graph_type | Yes | ||
| include_ddl | No | ||
| max_ddl_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ddl | No | ||
| schema | Yes | ||
| status | Yes | ||
| entities | Yes | ||
| graph_type | Yes | ||
| ddl_truncated | No |