Skip to content

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

feat(composio): add module-level doc comment to tool contract

Steven Enamakel4db19e67d1c4
diff --git a/crates/openhuman-core/src/integrations/composio/catalog/contract.rs b/crates/openhuman-core/src/integrations/composio/catalog/contract.rs
index 72ae5e4483..5c58a9eee9 100644
--- a/crates/openhuman-core/src/integrations/composio/catalog/contract.rs
+++ b/crates/openhuman-core/src/integrations/composio/catalog/contract.rs
@@ -1,12 +1,13 @@
+//! The LIVE, ground-truth Composio tool contract: [`ToolContract`] itself
+//! and the per-toolkit cache/fetch ([`fetch_live_toolkit_catalog`]) that
+//! backs it — sourced straight from Composio's own v3 `/tools` listing.
+//! See the parent module's docs for why this lives in `composio` at all.
+
use serde_json::Value;
-use super::client::{
- create_composio_client, direct_execute, direct_list_tools, ComposioClientKind,
-};
use crate::config::Config;
-use crate::json_schema::{
- compute_primary_array_path, compute_primary_array_path_from_value, response_fields_from_schema,
-};
+use crate::integrations::composio::client::{create_composio_client, direct_list_tools, ComposioClientKind};
+use crate::json_schema::{compute_primary_array_path, response_fields_from_schema};
/// One Composio action's LIVE, ground-truth contract — the source of truth
/// [Part 1 of the systemic tool-contract fix] grounds the Workflow builder