Create Journey
createJourneyCreate or replace an authentication journey (upsert) with human-readable node IDs that automatically transform to UUIDs, and get a mapping of original to generated IDs.
Instructions
Create or replace an authentication journey (upsert operation — if a journey with the same name already exists, it is overwritten). Node IDs can be human-readable (e.g., "login-page") and will be automatically transformed to UUIDs. Use "success" or "failure" as connection targets for terminal nodes. Returns the mapping of original IDs to generated UUIDs.
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": {
"realm": "<realm>",
"journeyName": "<journeyName>",
"journeyData": "<journeyData>"
},
"name": "createJourney"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | The realm to create the journey in | |
| description | No | Admin-facing description of the journey | |
| journeyData | Yes | The journey structure | |
| journeyName | Yes | The name of the journey | |
| identityResource | No | The identity resource that the journey authenticates against. Expected format: "managed/<realm>_<objectType>" (e.g., "managed/alpha_user", "managed/bravo_role"). |