manifest.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "id": "cron-manager",
  3. "name": "Cron Manager",
  4. "description": "Schedules delayed tasks and sends results back to the original conversation.",
  5. "version": "1.1.0",
  6. "runtime": "quickjs",
  7. "sdkVersion": 1,
  8. "auto_start": true,
  9. "tools": [
  10. {
  11. "name": "schedule_job",
  12. "description": "Schedules a job to run at a specific time or interval. The result will be sent back to the specified conversation.",
  13. "parameters": {
  14. "type": "object",
  15. "properties": {
  16. "schedule": {
  17. "type": "string",
  18. "description": "The schedule. Can be an ISO 8601 timestamp (e.g., '2026-04-07T15:00:00Z') or an interval in minutes (e.g., '60' for every hour)."
  19. },
  20. "instructions": {
  21. "type": "string",
  22. "description": "The instructions or prompt to be sent back to the LLM when the job triggers."
  23. },
  24. "conversationId": {
  25. "type": "string",
  26. "description": "The ID of the conversation where the result should be posted."
  27. }
  28. },
  29. "required": ["schedule", "instructions", "conversationId"]
  30. }
  31. },
  32. {
  33. "name": "list_jobs",
  34. "description": "Lists all currently scheduled cron jobs.",
  35. "parameters": {
  36. "type": "object",
  37. "properties": {}
  38. }
  39. },
  40. {
  41. "name": "cancel_job",
  42. "description": "Cancels a scheduled job by its ID.",
  43. "parameters": {
  44. "type": "object",
  45. "properties": {
  46. "jobId": {
  47. "type": "string",
  48. "description": "The ID of the job to cancel."
  49. }
  50. },
  51. "required": ["jobId"]
  52. }
  53. }
  54. ],
  55. "permissions": {
  56. "allowStorage": true
  57. }
  58. }