@mcp-b/webmcp-types 4.0.0-beta.20260702175639 → 4.0.0
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.
- package/README.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -152,7 +152,9 @@ If `required` is widened (for example a runtime `string[]`), fields are treated
|
|
|
152
152
|
|
|
153
153
|
### 5. Output inference from `outputSchema`
|
|
154
154
|
|
|
155
|
-
When `outputSchema` is a literal
|
|
155
|
+
When `outputSchema` is a literal JSON Schema, `structuredContent` is inferred automatically via `ToolResultFromOutputSchema`. Object, array, string, number, boolean, and null schemas are supported for MCP-B type inference.
|
|
156
|
+
|
|
157
|
+
Native Chrome WebMCP does not currently define or enforce `outputSchema`; treat it as helper metadata unless a specific MCP-B runtime or adapter consumes it.
|
|
156
158
|
|
|
157
159
|
This catches enum/type mismatches at compile time.
|
|
158
160
|
|
package/package.json
CHANGED