mirror of
https://github.com/domfelipe/hermes-agent-custom.git
synced 2026-08-07 09:16:41 +00:00
feat: add cronjob_create tool to mika_runtime plugin
This commit is contained in:
parent
1740e05917
commit
167f0f0271
4 changed files with 101 additions and 0 deletions
|
|
@ -2,10 +2,12 @@
|
|||
|
||||
from plugins.mika_runtime.tools import (
|
||||
CALCOM_API_SCHEMA,
|
||||
CRONJOB_CREATE_SCHEMA,
|
||||
INTEGRATIONS_STATUS_SCHEMA,
|
||||
NOTION_API_SCHEMA,
|
||||
TODOIST_API_SCHEMA,
|
||||
handle_calcom_api,
|
||||
handle_cronjob_create,
|
||||
handle_integrations_status,
|
||||
handle_notion_api,
|
||||
handle_todoist_api,
|
||||
|
|
@ -42,3 +44,10 @@ def register(ctx) -> None:
|
|||
handler=handle_calcom_api,
|
||||
emoji="📅",
|
||||
)
|
||||
ctx.register_tool(
|
||||
name="cronjob_create",
|
||||
toolset="mika_integrations",
|
||||
schema=CRONJOB_CREATE_SCHEMA,
|
||||
handler=handle_cronjob_create,
|
||||
emoji="⏰",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue