@adcp/sdk 12.0.1 → 12.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2732,7 +2732,7 @@ function createAdcpServer(config) {
2732
2732
  }
2733
2733
  const custom = config.customTools[customName];
2734
2734
  if (!custom) continue;
2735
- const { description, title, inputSchema, outputSchema, annotations, handler } = custom;
2735
+ const { description, title, inputSchema, outputSchema, annotations, _meta, handler } = custom;
2736
2736
  const rawHandler = handler;
2737
2737
  const wrappedHandler = (async (...args) => {
2738
2738
  try {
@@ -2750,7 +2750,8 @@ function createAdcpServer(config) {
2750
2750
  ...title != null && { title },
2751
2751
  ...inputSchema != null && { inputSchema },
2752
2752
  ...outputSchema != null && { outputSchema },
2753
- ...annotations != null && { annotations }
2753
+ ...annotations != null && { annotations },
2754
+ ..._meta != null && { _meta }
2754
2755
  },
2755
2756
  wrappedHandler
2756
2757
  );