Aller au contenu principal

Ontologie

En bref

Interrogez, creez et naviguez dans votre modele metier.

Prérequis

  • Clé API avec le preset MCP et les scopes requis
  • Client MCP configure (voir Configuration)

Exemples minimaux

Decouvrir et rechercher dans votre ontologie

  1. Listez vos espaces disponibles :
{
"name": "ontology_list_espaces",
"arguments": {}
}
  1. Recherchez des entites par mot-cle :
{
"name": "ontology_search",
"arguments": {
"query": "fournisseur",
"limit": 10
}
}
  1. Consultez les details d'une entite :
{
"name": "ontology_get_node",
"arguments": {
"nodeId": "uuid-de-lentite"
}
}

Decouverte

ontology_describe

Resume la structure de votre ontologie : types d'entites, relations, statistiques.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
statisticsobject
topObjectTypesobject[]
topLinkTypesobject[]
edgeTypesobject[]
businessDescriptionstring

Exemple

{
"name": "ontology_describe",
"arguments": {
"format": "summary"
}
}

Requetes

ontology_query_nodes

Recherche et filtre les entites de votre ontologie par type, nom ou proprietes.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
nodesobject[]
totalnumber
hasMoreboolean

Exemple

{
"name": "ontology_query_nodes",
"arguments": {
"nodeType": "ObjectType",
"limit": 20
}
}

ontology_query_edges

Liste les relations (liens) entre entites avec filtres optionnels.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
edgesobject[]
totalnumber
hasMoreboolean

Exemple

{
"name": "ontology_query_edges",
"arguments": {
"limit": 20
}
}

Recherche en texte integral dans les entites de votre ontologie.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
resultsobject[]
totalnumber
tooknumber
querystring

Exemple

{
"name": "ontology_search",
"arguments": {
"query": "fournisseur",
"limit": 10
}
}

ontology_semantic_query

Recherche semantique en langage naturel dans votre ontologie.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
answerstring
entitiesobject[]
relationshipsobject[]
explanationstring
metadataobject

Exemple

{
"name": "ontology_semantic_query",
"arguments": {
"query": "Quels sont les types de contrats ?"
}
}

CRUD Noeuds

ontology_get_node

Recupere les details complets d'une entite par son identifiant ou son nom.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
nodeobjectnull

Exemple

{
"name": "ontology_get_node",
"arguments": {
"nodeId": "uuid-de-lentite"
}
}

CRUD Relations

ontology_get_edge_properties

Recupere les proprietes detaillees d'une relation (cardinalite, cascade).

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
edgesobject[]
totalnumber
summaryobject

ontology_get_neighbors

Liste les entites directement connectees a une entite donnee (entrants et sortants).

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Exemple

{
"name": "ontology_get_neighbors",
"arguments": {
"nodeId": "uuid-de-lentite",
"direction": "both"
}
}

ontology_traverse

Parcourt le graphe en largeur (BFS) depuis une entite avec limite de profondeur.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
rootobject
graphobject
pathsobject[]
statsobject

ontology_find_path

Trouve le chemin le plus court entre deux entites du graphe.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
foundboolean
sourceobject
targetobject
pathsobject[]
statsobject

Schemas et proprietes

ontology_get_property_schema

Recupere le schema de proprietes avec regles de validation pour un type d'entite.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
nodeIdstring
nodeNamestring
nodeDisplayNamestring
nodeTypestring
propertiesobject[]
summaryobject

ontology_analyze_schema

Analyse approfondie de la structure du schema de l'ontologie.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
summaryobject
nodeTypesobject[]
patternsobject
recommendationsstring[]

ontology_value_types

Liste les types de valeurs disponibles pour les proprietes.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
operationstring
valueTypeobject
valueTypesobject[]
totalnumber

Actions Kinetic

ontology_list_actions

Liste les actions Kinetic disponibles sur une entite.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
actionsobject[]
countnumber

ontology_get_action

Recupere les details d'une action Kinetic specifique.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
actionobject
statsobject

ontology_action_history

Consulte l'historique d'execution des actions sur une entite.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
executionsobject[]
countnumber
actionIdstring

Instances

ontology_list_instances

Liste les instances d'un type d'entite (Digital Twin).

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
instancesobject[]
totalnumber
hasMoreboolean

ontology_get_instance

Recupere les details d'une instance specifique.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
idstring
objectTypeIdstring
displayNamestringnull
dataobject
versionnumber
externalIdstringnull
createdAtstring
updatedAtstring

ontology_search_instances

Recherche dans les instances d'un type d'entite.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
instancesobject[]
totalnumber
hasMoreboolean

Export

ontology_export

Exporte l'ontologie au format YAML.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espacesobject[]
objectTypesobject[]
linkTypesobject[]
totalNodesnumber
totalEdgesnumber
exportedAtstring

ontology_stats

Affiche les statistiques de l'ontologie (noeuds, relations, types).

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
workspaceStatsobjectnull
espaceStatsobject[]

Historique

ontology_get_history

Consulte l'historique des modifications d'une entite.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
nodeobject
historicalStateobjectnull
currentStateobject
eventsobject[]
statsobject

ontology_impact_analysis

Analyse l'impact en cascade d'une modification sur les entites liees.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
espaceobject
analyzedNodeobject
downstreamobject[]
upstreamobject[]
summaryobject
deletionSimulationobject

Autres

context_pack

[DISCOVER] Assemble bounded, LLM-ready context for a given query.

Scopemcp.read
Lecture seuleOui
DestructifNon
IdempotentOui

df_plan_action

[EXECUTE] Dry-run a business action — returns a signed plan artifact WITHOUT executing.

Scopemcp.plan.write
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
planIdstring
planHashstring
canRunboolean
canApplyboolean
applyBlockedReasonstring
effectsunknown[]
blockedByobject[]
riskstring
expiresAtstring
proofobject

df_plan_inspect

[DISCOVERY] Inspect a plan artifact (signed mutation intent).

Scopemcp.plan.write
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
planunknown

df_plan_list

[DISCOVERY] List plan artifacts in the workspace.

Scopemcp.plan.write
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
plansobject[]
countnumber

df_plan_verify

[ACTION] Verify if a plan artifact can be applied.

Scopemcp.plan.write
Lecture seuleOui
DestructifNon
IdempotentOui

Reponse

ChampTypeDescription
planIdstring
canApplyboolean
checksobject[]
reasonsobject[]

Dépannage

CodeMessageSolution
404Espace non trouveVerifiez l'identifiant avec ontology_list_espaces.
403Scope insuffisantAjoutez le scope mcp.write a votre cle API.

Besoin d'aide ?

Écrivez-nous : Support et contact.