Draft a journey
create_journey_draftCreate a draft journey from your plan for review before activation. Validates the plan format, returns precise errors to fix, and requires an author key. The draft remains inactive until approved.
Instructions
Create a DRAFT journey from a plan. Read the payghaam://journey-plan-schema resource first — it has the format and a worked example. The draft sends nothing; a person reviews and activates it in the dashboard, and it is labelled there as machine-written. Requires an author key (ek_mcpa_). If the plan is invalid you get the specific problems back and can fix and retry.
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": {
"plan": "<plan>"
},
"name": "create_journey_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | A journey plan object, per payghaam://journey-plan-schema. |