Variable UNIFIED_TOOL_DEFINITIONSConst
UNIFIED_TOOL_DEFINITIONS: {
"t402/smartPay": {
name: "t402/smartPay";
description: "Intelligent payment that automatically checks balance, bridges if needed, and pays. Handles the entire payment flow for 402-protected resources.";
inputSchema: {
type: "object";
properties: {
url: {
type: "string";
description: "URL of the 402-protected resource";
};
maxBridgeFee: {
type: "string";
description: "Maximum acceptable bridge fee in native token (optional)";
};
preferredNetwork: {
type: "string";
description: "Preferred network for payment (optional)";
};
confirmed: {
type: "boolean";
description: "Set to true to confirm and execute. Omit for a preview/confirmation prompt.";
};
};
required: readonly ["url"];
};
};
"t402/paymentPlan": {
name: "t402/paymentPlan";
description: "Analyze a 402 response and create an optimal payment plan considering balances across all chains. Returns recommended network, bridge requirements, and balance overview.";
inputSchema: {
type: "object";
properties: {
paymentRequired: {
type: "object";
description: "The 402 PaymentRequired response";
};
};
required: readonly ["paymentRequired"];
};
};
} = ...
Type Declaration
Readonlyt402/smartPay: {
name: "t402/smartPay";
description: "Intelligent payment that automatically checks balance, bridges if needed, and pays. Handles the entire payment flow for 402-protected resources.";
inputSchema: {
type: "object";
properties: {
url: {
type: "string";
description: "URL of the 402-protected resource";
};
maxBridgeFee: {
type: "string";
description: "Maximum acceptable bridge fee in native token (optional)";
};
preferredNetwork: {
type: "string";
description: "Preferred network for payment (optional)";
};
confirmed: {
type: "boolean";
description: "Set to true to confirm and execute. Omit for a preview/confirmation prompt.";
};
};
required: readonly ["url"];
};
}
Readonlyt402/paymentPlan: {
name: "t402/paymentPlan";
description: "Analyze a 402 response and create an optimal payment plan considering balances across all chains. Returns recommended network, bridge requirements, and balance overview.";
inputSchema: {
type: "object";
properties: {
paymentRequired: {
type: "object";
description: "The 402 PaymentRequired response";
};
};
required: readonly ["paymentRequired"];
};
}
Unified tool definitions (additional tools beyond base + WDK)