Sfoglia il codice sorgente

docs(tools): sync ToolExecutionResult.meta comment to `unknown`

The pasted type-equiv block's JSDoc still said the meta payload is
`{@link JsonValue}`; the source comment is `unknown` (the meta channel is
opaque at the seam). verify-type-equiv compares type structure, not the
comment, so the drift slipped through — align the doc comment.
Tianyi Cui 2 mesi fa
parent
commit
f86e0bedec
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      docs/core-data-structures/tools.md

+ 2 - 2
docs/core-data-structures/tools.md

@@ -103,8 +103,8 @@ interface ToolExecutionResult {
   /**
    * The tool-private presentation payload from a successful `execute` (the object
    * return form). Threaded onto the `tool/result` session event and back into
-   * {@link ToolResult} for `presentResult`. Opaque {@link JsonValue}; absent when
-   * the tool attached none or the call failed.
+   * {@link ToolResult} for `presentResult`. Opaque (`unknown`); absent when the
+   * tool attached none or the call failed.
    */
   meta?: unknown
 }