Skip to content

Cron tool schema mismatch: jobId vs id parameter #252

@visionik

Description

@visionik

Bug

The clawdis_cron tool schema defines jobId as the parameter name, but the backend cron API expects id.

Reproduction

Trying to update or remove a cron job fails:

clawdis_cron action=update jobId=meeting-reminders-v2 patch={"enabled": false}

Error:

invalid cron.update params: data must have required property 'id'; data must NOT have additional properties

Expected

The tool should accept jobId and translate it to id for the backend, OR the schema should use id to match the backend.

Impact

  • Cannot disable cron jobs via the tool
  • Cannot remove cron jobs via the tool
  • list and add work fine

Workaround

None currently. Jobs continue running even when trying to disable them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions