Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(composio): update required fields in schemas

Steven Enamakel6457e7e489b2
diff --git a/crates/openhuman-core/src/integrations/composio/schemas/definitions.rs b/crates/openhuman-core/src/integrations/composio/schemas/definitions.rs
index c1d8141d15..3f1355bd70 100644
--- a/crates/openhuman-core/src/integrations/composio/schemas/definitions.rs
+++ b/crates/openhuman-core/src/integrations/composio/schemas/definitions.rs
@@ -67,7 +67,7 @@ pub fn schemas(function: &str) -> ControllerSchema {
name: "toolkit",
ty: TypeSchema::String,
comment: "Toolkit slug to authorize (must be in the backend allowlist).",
- required: false,
+ required: true,
},
FieldSchema {
name: "extra_params",
@@ -156,7 +156,7 @@ pub fn schemas(function: &str) -> ControllerSchema {
name: "tool",
ty: TypeSchema::String,
comment: "Composio action slug, e.g. GMAIL_SEND_EMAIL.",
- required: true,
+ required: false,
},
FieldSchema {
name: "arguments",