- SCHEMA
- FIELDS
- TYPES
- HUMAN
Short answer
How can I audit my 4D database schema using AI?
Your agent uses the get_catalog tool to pull the complete list of DataClasses and fields from your 4D environment. You get a structured map of your entire database schema. This breakdown shows you exactly how the data is organized.
Where your data lands.
The audit outcomes.
The AI organizes the raw catalog data into these specific views.
SCHEMA
Full structural map
The agent pulls every DataClass. You get a complete list of your database architecture.
FIELDS
Field availability check
The AI identifies every field within your classes. You can verify if specific data points exist.
TYPES
Data type verification
The agent checks the specific types for each field. This helps you catch mismatches in your logic.
HUMAN
Manual review
The AI provides the raw field list for you to inspect. You decide if the schema meets your needs.
The workflow
What your AI does when the connection is live.
The agent acts as a bridge between your database and your chat interface.
Fetch the catalog
The agent pulls the complete list of all available objects and structures from your 4D environment.
get_catalogMap the hierarchy
The agent organizes the retrieved data into a readable hierarchy of classes and fields.
get_catalogVerify field types
The agent inspects the specific properties and types of each field found in the catalog.
get_catalogIdentify missing data
The agent compares your requested fields against the actual database structure to find gaps.
get_catalog
Try it
Copy these to start.
Use these prompts to begin your audit.
Starting points
Replace the bracketed text with your specific class or field names.
4D Connector
Alles bereit. Wählen Sie Ihren MCP-Client und folgen Sie den Einrichtungsschritten.
https://edge.vinkius.com/vk_preview_D1Grnbj5YYTUrRV7JM7mu8HcpMzBi59V8AcgtrDo/mcpClaude Desktop
Folgen Sie den Schritten unten, um sich in Sekunden zu verbinden.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — 4D capabilities are ready to use.
{
"mcpServers": {
"4d-mcp": {
"url": "https://edge.vinkius.com/vk_preview_D1Grnbj5YYTUrRV7JM7mu8HcpMzBi59V8AcgtrDo/mcp"
}
}
}List all DataClasses in my 4D database.
Show me all fields within the [ClassName] class.
Check if the field [FieldName] exists in the [ClassName] structure.
Summarize the data types for all fields in [ClassName].
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect 4D once, then ask.
One connection gives your agent access to your schema. Your credentials stay encrypted, and the full walkthrough lives on the Connector page.
Connect 4D to your AIFAQ
How this task behaves.
- 01
Can the AI change my database structure?
No. The agent can only read the schema using the get_catalog tool. It cannot create, delete, or modify any fields or classes.
- 02
Does the AI see my actual row data?
No. This task only accesses the metadata and schema structure. It does not read the contents of your records.
- 03
How does the AI know which fields are available?
The agent uses the get_catalog tool to pull the current list of DataClasses and fields directly from your 4D environment.
- 04
Can I use this to write 4D code?
The agent can suggest code based on the schema it sees, but you must manually verify and run any code in your 4D environment.
- 05
What happens if a field name is misspelled?
The agent will report that the field does not exist because it can only find what is explicitly listed in the database catalog.
More questions about 4D? See everything the 4D Connector can do
Verbinde 4D mit Claude, Cursor, ChatGPT & mehr
