@@ -75,6 +75,7 @@ export function buildLiveCronProbeMessage(params: {
|
75 | 75 | return ( |
76 | 76 | "Use the OpenClaw MCP tool `openclaw-tools/cron` (server `openclaw-tools`, tool `cron`). " + |
77 | 77 | `Call it with JSON arguments ${params.argsJson}. ` + |
| 78 | +"Preserve the JSON exactly, including job.sessionTarget and job.sessionKey; do not omit, rename, or flatten those fields. " + |
78 | 79 | "Do the actual tool call; I will verify externally with the OpenClaw cron CLI. " + |
79 | 80 | `After the cron job is created, reply exactly: ${params.exactReply}` |
80 | 81 | ); |
@@ -83,6 +84,7 @@ export function buildLiveCronProbeMessage(params: {
|
83 | 84 | return ( |
84 | 85 | "Retry the OpenClaw MCP tool `openclaw-tools/cron` now. " + |
85 | 86 | `Use these exact JSON arguments: ${params.argsJson}. ` + |
| 87 | +"Preserve job.sessionTarget and job.sessionKey exactly as provided. " + |
86 | 88 | `If the cron job is created, reply exactly: ${params.exactReply}. ` + |
87 | 89 | "If the tool call is cancelled, the job is not created, or you cannot confirm creation, " + |
88 | 90 | "reply briefly saying that and ask me to retry. No markdown. " + |
@@ -93,6 +95,7 @@ export function buildLiveCronProbeMessage(params: {
|
93 | 95 | "Your previous OpenClaw cron MCP tool call was cancelled before the job was created. " + |
94 | 96 | "Retry the OpenClaw MCP tool `openclaw-tools/cron` now. " + |
95 | 97 | `Use these exact JSON arguments: ${params.argsJson}. ` + |
| 98 | +"Preserve job.sessionTarget and job.sessionKey exactly as provided. " + |
96 | 99 | `If the cron job is created, reply exactly: ${params.exactReply}. ` + |
97 | 100 | "If the tool call is cancelled, the job is not created, or you cannot confirm creation, " + |
98 | 101 | "reply briefly saying that and ask me to retry. No markdown. " + |
|