Use your own AI app
Create, read and change ER diagrams from your own AI app through the Penna connector.
A connected AI app can work on ER diagrams through the same tools as the assistant. This page lists what's specific to ER diagrams.
What it can do
- Create one. Ask for it by name: "Create an ER diagram called Online store."
create_diagramtakes akind, anderdmakes an ER diagram. Without it, the AI creates a BPMN process. - Find one.
list_diagramssays each diagram's kind, so the AI knows which diagrams are ER diagrams. - Read and write it.
get_diagramreturns the schema code with every element's id, andwrite_diagramtakes schema code.edit_diagramtakes edits to tables, columns, relationships, enums, groups and indexes. Tables can be named by id or name, and columns by id or astable.column. - Look things up.
lookup_guidancehas topics for ER diagrams:schema-codefor the syntax,schema-stylefor the modeling style, and the reference schemasstore-schema,saas-schema,booking-schema,billing-schema,content-schemaandhistory-schema. The AI is told to look up the syntax before its first write.
The diagram card in the chat, live updates in the app and the version history work as they do for a process. See Tools for every tool and edit, with its parameters, and Guidance topics for every topic, word for word.