Skip to content

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

refactor(tools): replace manual tool registration with derive macro

Steven Enamakele748654835cc
diff --git a/crates/openhuman-core/src/config/tools.rs b/crates/openhuman-core/src/config/tools.rs
index ba86d7be70..9902055edd 100644
--- a/crates/openhuman-core/src/config/tools.rs
+++ b/crates/openhuman-core/src/config/tools.rs
@@ -68,6 +68,10 @@ impl ConfigSnapshotTool {
#[async_trait]
impl Tool for ConfigSnapshotTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"config_snapshot"
}
@@ -99,6 +103,10 @@ pub struct ConfigRuntimeFlagsTool;
#[async_trait]
impl Tool for ConfigRuntimeFlagsTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"config_get_runtime_flags"
}
diff --git a/crates/openhuman-core/src/cron/tools/collapsed.rs b/crates/openhuman-core/src/cron/tools/collapsed.rs
index e9aac09fec..90d9cb4dd8 100644
--- a/crates/openhuman-core/src/cron/tools/collapsed.rs
+++ b/crates/openhuman-core/src/cron/tools/collapsed.rs
@@ -106,6 +106,10 @@ impl CronTool {
#[async_trait]
impl Tool for CronTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
CRON_TOOL_NAME
}
diff --git a/crates/openhuman-core/src/desktop/dashboard/tools.rs b/crates/openhuman-core/src/desktop/dashboard/tools.rs
index dc11a0ab10..5921366b8c 100644
--- a/crates/openhuman-core/src/desktop/dashboard/tools.rs
+++ b/crates/openhuman-core/src/desktop/dashboard/tools.rs
@@ -23,6 +23,10 @@ impl DashboardModelHealthTool {
#[async_trait]
impl Tool for DashboardModelHealthTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"dashboard_model_health"
}
diff --git a/crates/openhuman-core/src/mcp/registry/tools.rs b/crates/openhuman-core/src/mcp/registry/tools.rs
index df971cfd26..eb3afb6fa1 100644
--- a/crates/openhuman-core/src/mcp/registry/tools.rs
+++ b/crates/openhuman-core/src/mcp/registry/tools.rs
@@ -52,6 +52,10 @@ impl McpRegistrySearchTool {
}
#[async_trait]
impl Tool for McpRegistrySearchTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"mcp_registry_search"
}
@@ -106,6 +110,10 @@ impl McpRegistryGetTool {
}
#[async_trait]
impl Tool for McpRegistryGetTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"mcp_registry_get"
}
@@ -142,6 +150,10 @@ impl McpRegistryInstalledListTool {
}
#[async_trait]
impl Tool for McpRegistryInstalledListTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"mcp_registry_installed_list"
}
diff --git a/crates/openhuman-core/src/platform/cost/tools.rs b/crates/openhuman-core/src/platform/cost/tools.rs
index f924f8519d..afd1d8e80e 100644
--- a/crates/openhuman-core/src/platform/cost/tools.rs
+++ b/crates/openhuman-core/src/platform/cost/tools.rs
@@ -30,6 +30,10 @@ impl CostDashboardTool {
#[async_trait]
impl Tool for CostDashboardTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"cost_get_dashboard"
}
@@ -66,6 +70,10 @@ impl CostDailyHistoryTool {
#[async_trait]
impl Tool for CostDailyHistoryTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"cost_get_daily_history"
}
@@ -115,6 +123,10 @@ impl CostSummaryTool {
#[async_trait]
impl Tool for CostSummaryTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"cost_get_summary"
}
diff --git a/crates/openhuman-core/src/platform/doctor/tools.rs b/crates/openhuman-core/src/platform/doctor/tools.rs
index 2200178362..fbc70b3467 100644
--- a/crates/openhuman-core/src/platform/doctor/tools.rs
+++ b/crates/openhuman-core/src/platform/doctor/tools.rs
@@ -33,6 +33,10 @@ impl DoctorHealthTool {
#[async_trait]
impl Tool for DoctorHealthTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"doctor_health"
}
@@ -70,6 +74,10 @@ impl DoctorModelsTool {
#[async_trait]
impl Tool for DoctorModelsTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"doctor_models"
}
diff --git a/crates/openhuman-core/src/platform/health/tools.rs b/crates/openhuman-core/src/platform/health/tools.rs
index 1048635a12..241246e257 100644
--- a/crates/openhuman-core/src/platform/health/tools.rs
+++ b/crates/openhuman-core/src/platform/health/tools.rs
@@ -12,6 +12,10 @@ pub struct HealthSnapshotTool;
#[async_trait]
impl Tool for HealthSnapshotTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"health_snapshot"
}
@@ -41,6 +45,10 @@ pub struct HealthSystemInfoTool;
#[async_trait]
impl Tool for HealthSystemInfoTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"health_system_info"
}
diff --git a/crates/openhuman-core/src/platform/service/tools.rs b/crates/openhuman-core/src/platform/service/tools.rs
index 4c24c06e49..901923d78e 100644
--- a/crates/openhuman-core/src/platform/service/tools.rs
+++ b/crates/openhuman-core/src/platform/service/tools.rs
@@ -120,6 +120,10 @@ impl DaemonHostPrefsSetTool {
#[async_trait]
impl Tool for DaemonHostPrefsSetTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"daemon_host_prefs_set"
}
@@ -158,6 +162,10 @@ pub struct ServiceRestartTool;
#[async_trait]
impl Tool for ServiceRestartTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"service_restart"
}
@@ -195,6 +203,10 @@ pub struct ServiceShutdownTool;
#[async_trait]
impl Tool for ServiceShutdownTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"service_shutdown"
}
diff --git a/crates/openhuman-core/src/security/credentials/tools.rs b/crates/openhuman-core/src/security/credentials/tools.rs
index debc759f54..a19b071268 100644
--- a/crates/openhuman-core/src/security/credentials/tools.rs
+++ b/crates/openhuman-core/src/security/credentials/tools.rs
@@ -71,6 +71,10 @@ impl CredentialListTool {
}
#[async_trait]
impl Tool for CredentialListTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"credential_list"
}
@@ -108,6 +112,10 @@ impl SessionStateTool {
}
#[async_trait]
impl Tool for SessionStateTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"session_state"
}
@@ -141,6 +149,10 @@ impl OAuthConnectUrlTool {
}
#[async_trait]
impl Tool for OAuthConnectUrlTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"oauth_connect_url"
}
@@ -190,6 +202,10 @@ impl OAuthListTool {
}
#[async_trait]
impl Tool for OAuthListTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"oauth_list"
}
diff --git a/crates/openhuman-core/src/security/tools.rs b/crates/openhuman-core/src/security/tools.rs
index 3e5ce43a18..4eab01a77f 100644
--- a/crates/openhuman-core/src/security/tools.rs
+++ b/crates/openhuman-core/src/security/tools.rs
@@ -26,6 +26,10 @@ impl SecurityPolicyInfoTool {
#[async_trait]
impl Tool for SecurityPolicyInfoTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"security_policy_info"
}
diff --git a/crates/openhuman-core/src/tools/impl/filesystem/edit_file.rs b/crates/openhuman-core/src/tools/impl/filesystem/edit_file.rs
index e4b6f83006..208da021d1 100644
--- a/crates/openhuman-core/src/tools/impl/filesystem/edit_file.rs
+++ b/crates/openhuman-core/src/tools/impl/filesystem/edit_file.rs
@@ -39,6 +39,10 @@ impl EditFileTool {
#[async_trait]
impl Tool for EditFileTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"edit"
}
diff --git a/crates/openhuman-core/src/tools/impl/filesystem/read_diff.rs b/crates/openhuman-core/src/tools/impl/filesystem/read_diff.rs
index 3269f81d6a..4cd8c91589 100644
--- a/crates/openhuman-core/src/tools/impl/filesystem/read_diff.rs
+++ b/crates/openhuman-core/src/tools/impl/filesystem/read_diff.rs
@@ -31,6 +31,10 @@ impl ReadDiffTool {
#[async_trait]
impl Tool for ReadDiffTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"read_diff"
}
diff --git a/crates/openhuman-core/src/tools/impl/filesystem/run_linter.rs b/crates/openhuman-core/src/tools/impl/filesystem/run_linter.rs
index b918874b65..8d1619ced3 100644
--- a/crates/openhuman-core/src/tools/impl/filesystem/run_linter.rs
+++ b/crates/openhuman-core/src/tools/impl/filesystem/run_linter.rs
@@ -31,6 +31,10 @@ impl RunLinterTool {
#[async_trait]
impl Tool for RunLinterTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"run_linter"
}
diff --git a/crates/openhuman-core/src/tools/impl/filesystem/run_tests.rs b/crates/openhuman-core/src/tools/impl/filesystem/run_tests.rs
index 56437e1b78..3ebd37b431 100644
--- a/crates/openhuman-core/src/tools/impl/filesystem/run_tests.rs
+++ b/crates/openhuman-core/src/tools/impl/filesystem/run_tests.rs
@@ -31,6 +31,10 @@ impl RunTestsTool {
#[async_trait]
impl Tool for RunTestsTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"run_tests"
}
diff --git a/crates/openhuman-core/src/tools/impl/network/curl.rs b/crates/openhuman-core/src/tools/impl/network/curl.rs
index bac8178f9a..d15ef7926b 100644
--- a/crates/openhuman-core/src/tools/impl/network/curl.rs
+++ b/crates/openhuman-core/src/tools/impl/network/curl.rs
@@ -113,6 +113,10 @@ impl CurlTool {
#[async_trait]
impl Tool for CurlTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"curl"
}
diff --git a/crates/openhuman-core/src/tools/impl/network/gitbooks.rs b/crates/openhuman-core/src/tools/impl/network/gitbooks.rs
index 8d29097402..318eab439f 100644
--- a/crates/openhuman-core/src/tools/impl/network/gitbooks.rs
+++ b/crates/openhuman-core/src/tools/impl/network/gitbooks.rs
@@ -33,6 +33,10 @@ impl GitbooksSearchTool {
#[async_trait]
impl Tool for GitbooksSearchTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"gitbooks_search"
}
@@ -114,6 +118,10 @@ impl GitbooksGetPageTool {
#[async_trait]
impl Tool for GitbooksGetPageTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"gitbooks_get_page"
}
diff --git a/crates/openhuman-core/src/tools/impl/system/lsp.rs b/crates/openhuman-core/src/tools/impl/system/lsp.rs
index a4fea9ef88..b27f427a15 100644
--- a/crates/openhuman-core/src/tools/impl/system/lsp.rs
+++ b/crates/openhuman-core/src/tools/impl/system/lsp.rs
@@ -50,6 +50,10 @@ impl Default for LspTool {
#[async_trait]
impl Tool for LspTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"lsp"
}
diff --git a/crates/openhuman-core/src/tools/impl/system/node_exec.rs b/crates/openhuman-core/src/tools/impl/system/node_exec.rs
index 9570b36ff6..648262099e 100644
--- a/crates/openhuman-core/src/tools/impl/system/node_exec.rs
+++ b/crates/openhuman-core/src/tools/impl/system/node_exec.rs
@@ -97,6 +97,10 @@ impl NodeExecTool {
#[async_trait]
impl Tool for NodeExecTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"node_exec"
}
diff --git a/crates/openhuman-core/src/tools/impl/system/npm_exec.rs b/crates/openhuman-core/src/tools/impl/system/npm_exec.rs
index 3173559a6f..33a70f2484 100644
--- a/crates/openhuman-core/src/tools/impl/system/npm_exec.rs
+++ b/crates/openhuman-core/src/tools/impl/system/npm_exec.rs
@@ -103,6 +103,10 @@ impl NpmExecTool {
#[async_trait]
impl Tool for NpmExecTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"npm_exec"
}
diff --git a/crates/openhuman-core/src/tools/impl/system/proxy_config.rs b/crates/openhuman-core/src/tools/impl/system/proxy_config.rs
index bbd0216976..2185d5ff4a 100644
--- a/crates/openhuman-core/src/tools/impl/system/proxy_config.rs
+++ b/crates/openhuman-core/src/tools/impl/system/proxy_config.rs
@@ -307,6 +307,10 @@ impl ProxyConfigTool {
#[async_trait]
impl Tool for ProxyConfigTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"proxy_config"
}
diff --git a/crates/openhuman-core/src/tools/impl/system/python_exec.rs b/crates/openhuman-core/src/tools/impl/system/python_exec.rs
index 3c367a5522..21087cac02 100644
--- a/crates/openhuman-core/src/tools/impl/system/python_exec.rs
+++ b/crates/openhuman-core/src/tools/impl/system/python_exec.rs
@@ -89,6 +89,10 @@ impl PythonExecTool {
#[async_trait]
impl Tool for PythonExecTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"python_exec"
}
diff --git a/crates/openhuman-core/src/web3/bridge/tools.rs b/crates/openhuman-core/src/web3/bridge/tools.rs
index e04f0b6309..b781e10680 100644
--- a/crates/openhuman-core/src/web3/bridge/tools.rs
+++ b/crates/openhuman-core/src/web3/bridge/tools.rs
@@ -36,6 +36,10 @@ impl Web3BridgeExecuteTool {
#[async_trait]
impl Tool for Web3BridgeQuoteTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"web3_bridge_quote"
}
@@ -79,6 +83,10 @@ impl Tool for Web3BridgeQuoteTool {
#[async_trait]
impl Tool for Web3BridgeExecuteTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"web3_bridge_execute"
}
diff --git a/crates/openhuman-core/src/web3/dapp/tools.rs b/crates/openhuman-core/src/web3/dapp/tools.rs
index 326c9660d4..e677e908e2 100644
--- a/crates/openhuman-core/src/web3/dapp/tools.rs
+++ b/crates/openhuman-core/src/web3/dapp/tools.rs
@@ -36,6 +36,10 @@ impl Web3DappExecuteTool {
#[async_trait]
impl Tool for Web3DappCallTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"web3_dapp_call"
}
@@ -78,6 +82,10 @@ impl Tool for Web3DappCallTool {
#[async_trait]
impl Tool for Web3DappExecuteTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"web3_dapp_execute"
}
diff --git a/crates/openhuman-core/src/web3/swap/tools.rs b/crates/openhuman-core/src/web3/swap/tools.rs
index c573255471..6bf88fe132 100644
--- a/crates/openhuman-core/src/web3/swap/tools.rs
+++ b/crates/openhuman-core/src/web3/swap/tools.rs
@@ -50,6 +50,10 @@ impl Web3SwapRoutesTool {
#[async_trait]
impl Tool for Web3SwapQuoteTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"web3_swap_quote"
}
@@ -91,6 +95,10 @@ impl Tool for Web3SwapQuoteTool {
#[async_trait]
impl Tool for Web3SwapExecuteTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"web3_swap_execute"
}
@@ -119,6 +127,10 @@ impl Tool for Web3SwapExecuteTool {
#[async_trait]
impl Tool for Web3SwapRoutesTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"web3_swap_routes"
}
diff --git a/crates/openhuman-core/src/web3/wallet/tools/chain_status.rs b/crates/openhuman-core/src/web3/wallet/tools/chain_status.rs
index 5de6f5a43a..cef975d997 100644
--- a/crates/openhuman-core/src/web3/wallet/tools/chain_status.rs
+++ b/crates/openhuman-core/src/web3/wallet/tools/chain_status.rs
@@ -19,6 +19,10 @@ impl WalletChainStatusTool {
#[async_trait]
impl Tool for WalletChainStatusTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"wallet_chain_status"
}
diff --git a/crates/openhuman-core/src/web3/wallet/tools/prepare_transfer.rs b/crates/openhuman-core/src/web3/wallet/tools/prepare_transfer.rs
index a1e3373dcc..67285ed87c 100644
--- a/crates/openhuman-core/src/web3/wallet/tools/prepare_transfer.rs
+++ b/crates/openhuman-core/src/web3/wallet/tools/prepare_transfer.rs
@@ -19,6 +19,10 @@ impl WalletPrepareTransferTool {
#[async_trait]
impl Tool for WalletPrepareTransferTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"wallet_prepare_transfer"
}
diff --git a/crates/openhuman-core/src/web3/wallet/tools/status.rs b/crates/openhuman-core/src/web3/wallet/tools/status.rs
index 5ed9be4c9c..8d20ab9bcc 100644
--- a/crates/openhuman-core/src/web3/wallet/tools/status.rs
+++ b/crates/openhuman-core/src/web3/wallet/tools/status.rs
@@ -19,6 +19,10 @@ impl WalletStatusTool {
#[async_trait]
impl Tool for WalletStatusTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"wallet_status"
}
diff --git a/crates/openhuman-core/src/web3/wallet/tools/tx_query.rs b/crates/openhuman-core/src/web3/wallet/tools/tx_query.rs
index 390cbf48e4..6eee7cc604 100644
--- a/crates/openhuman-core/src/web3/wallet/tools/tx_query.rs
+++ b/crates/openhuman-core/src/web3/wallet/tools/tx_query.rs
@@ -62,6 +62,10 @@ impl WalletTxStatusTool {
#[async_trait]
impl Tool for WalletTxStatusTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"wallet_tx_status"
}
@@ -113,6 +117,10 @@ impl WalletTxReceiptTool {
#[async_trait]
impl Tool for WalletTxReceiptTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"wallet_tx_receipt"
}
@@ -164,6 +172,10 @@ impl WalletLookupTxTool {
#[async_trait]
impl Tool for WalletLookupTxTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"wallet_lookup_tx"
}
diff --git a/crates/openhuman-core/src/web3/x402/tools.rs b/crates/openhuman-core/src/web3/x402/tools.rs
index 9418561d42..8f84950fce 100644
--- a/crates/openhuman-core/src/web3/x402/tools.rs
+++ b/crates/openhuman-core/src/web3/x402/tools.rs
@@ -35,6 +35,10 @@ impl X402RequestTool {
#[async_trait]
impl Tool for X402RequestTool {
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
+
fn name(&self) -> &str {
"x402_request"
}