phenoml 6.3.0 → 6.4.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.
Files changed (68) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/agent/client/Client.d.ts +8 -1
  3. package/dist/cjs/api/resources/agent/client/Client.js +82 -1
  4. package/dist/cjs/api/resources/agent/client/requests/AgentChatRequest.d.ts +2 -0
  5. package/dist/cjs/api/resources/agent/client/requests/AgentStreamChatRequest.d.ts +31 -0
  6. package/dist/cjs/api/resources/agent/client/requests/AgentStreamChatRequest.js +3 -0
  7. package/dist/cjs/api/resources/agent/client/requests/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/agent/types/AgentChatStreamEvent.d.ts +36 -0
  9. package/dist/cjs/api/resources/agent/types/AgentChatStreamEvent.js +16 -0
  10. package/dist/cjs/api/resources/agent/types/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/agent/types/index.js +1 -0
  12. package/dist/cjs/api/resources/construe/client/Client.d.ts +2 -2
  13. package/dist/cjs/api/resources/construe/client/Client.js +6 -6
  14. package/dist/cjs/api/resources/fhir/client/Client.d.ts +49 -49
  15. package/dist/cjs/api/resources/fhir/client/Client.js +69 -69
  16. package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +10 -10
  17. package/dist/cjs/api/resources/fhirProvider/client/Client.js +25 -25
  18. package/dist/cjs/api/resources/fhirProvider/types/Provider.d.ts +1 -0
  19. package/dist/cjs/api/resources/fhirProvider/types/Provider.js +1 -0
  20. package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.d.ts +4 -4
  21. package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.js +10 -10
  22. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.ts +8 -8
  23. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +20 -20
  24. package/dist/cjs/core/fetcher/Fetcher.js +12 -6
  25. package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -1
  26. package/dist/cjs/core/index.d.ts +1 -0
  27. package/dist/cjs/core/index.js +1 -0
  28. package/dist/cjs/core/stream/Stream.d.ts +47 -0
  29. package/dist/cjs/core/stream/Stream.js +175 -0
  30. package/dist/cjs/core/stream/index.d.ts +1 -0
  31. package/dist/cjs/core/stream/index.js +5 -0
  32. package/dist/cjs/version.d.ts +1 -1
  33. package/dist/cjs/version.js +1 -1
  34. package/dist/esm/Client.mjs +2 -2
  35. package/dist/esm/api/resources/agent/client/Client.d.mts +8 -1
  36. package/dist/esm/api/resources/agent/client/Client.mjs +82 -1
  37. package/dist/esm/api/resources/agent/client/requests/AgentChatRequest.d.mts +2 -0
  38. package/dist/esm/api/resources/agent/client/requests/AgentStreamChatRequest.d.mts +31 -0
  39. package/dist/esm/api/resources/agent/client/requests/AgentStreamChatRequest.mjs +2 -0
  40. package/dist/esm/api/resources/agent/client/requests/index.d.mts +1 -0
  41. package/dist/esm/api/resources/agent/types/AgentChatStreamEvent.d.mts +36 -0
  42. package/dist/esm/api/resources/agent/types/AgentChatStreamEvent.mjs +13 -0
  43. package/dist/esm/api/resources/agent/types/index.d.mts +1 -0
  44. package/dist/esm/api/resources/agent/types/index.mjs +1 -0
  45. package/dist/esm/api/resources/construe/client/Client.d.mts +2 -2
  46. package/dist/esm/api/resources/construe/client/Client.mjs +6 -6
  47. package/dist/esm/api/resources/fhir/client/Client.d.mts +49 -49
  48. package/dist/esm/api/resources/fhir/client/Client.mjs +69 -69
  49. package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +10 -10
  50. package/dist/esm/api/resources/fhirProvider/client/Client.mjs +25 -25
  51. package/dist/esm/api/resources/fhirProvider/types/Provider.d.mts +1 -0
  52. package/dist/esm/api/resources/fhirProvider/types/Provider.mjs +1 -0
  53. package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.d.mts +4 -4
  54. package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.mjs +10 -10
  55. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.mts +8 -8
  56. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +20 -20
  57. package/dist/esm/core/fetcher/Fetcher.mjs +12 -6
  58. package/dist/esm/core/fetcher/makeRequest.d.mts +1 -1
  59. package/dist/esm/core/index.d.mts +1 -0
  60. package/dist/esm/core/index.mjs +1 -0
  61. package/dist/esm/core/stream/Stream.d.mts +47 -0
  62. package/dist/esm/core/stream/Stream.mjs +170 -0
  63. package/dist/esm/core/stream/index.d.mts +1 -0
  64. package/dist/esm/core/stream/index.mjs +1 -0
  65. package/dist/esm/version.d.mts +1 -1
  66. package/dist/esm/version.mjs +1 -1
  67. package/package.json +1 -1
  68. package/reference.md +115 -42
package/reference.md CHANGED
@@ -427,7 +427,7 @@ await client.agent.patch("id", [{
427
427
  <dl>
428
428
  <dd>
429
429
 
430
- Send a message to an agent and receive a response
430
+ Send a message to an agent and receive a JSON response.
431
431
  </dd>
432
432
  </dl>
433
433
  </dd>
@@ -479,6 +479,79 @@ await client.agent.chat({
479
479
  </dl>
480
480
 
481
481
 
482
+ </dd>
483
+ </dl>
484
+ </details>
485
+
486
+ <details><summary><code>client.agent.<a href="/src/api/resources/agent/client/Client.ts">streamChat</a>({ ...params }) -> core.Stream<phenoml.AgentChatStreamEvent></code></summary>
487
+ <dl>
488
+ <dd>
489
+
490
+ #### 📝 Description
491
+
492
+ <dl>
493
+ <dd>
494
+
495
+ <dl>
496
+ <dd>
497
+
498
+ Send a message to an agent and receive the response as a Server-Sent Events
499
+ (SSE) stream. Events include message_start, content_delta, tool_use,
500
+ tool_result, message_end, and error.
501
+ </dd>
502
+ </dl>
503
+ </dd>
504
+ </dl>
505
+
506
+ #### 🔌 Usage
507
+
508
+ <dl>
509
+ <dd>
510
+
511
+ <dl>
512
+ <dd>
513
+
514
+ ```typescript
515
+ const response = await client.agent.streamChat({
516
+ "X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
517
+ "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c...",
518
+ message: "What is the patient's current condition?",
519
+ agent_id: "agent-123"
520
+ });
521
+ for await (const item of response) {
522
+ console.log(item);
523
+ }
524
+
525
+ ```
526
+ </dd>
527
+ </dl>
528
+ </dd>
529
+ </dl>
530
+
531
+ #### ⚙️ Parameters
532
+
533
+ <dl>
534
+ <dd>
535
+
536
+ <dl>
537
+ <dd>
538
+
539
+ **request:** `phenoml.agent.AgentStreamChatRequest`
540
+
541
+ </dd>
542
+ </dl>
543
+
544
+ <dl>
545
+ <dd>
546
+
547
+ **requestOptions:** `Agent.RequestOptions`
548
+
549
+ </dd>
550
+ </dl>
551
+ </dd>
552
+ </dl>
553
+
554
+
482
555
  </dd>
483
556
  </dl>
484
557
  </details>
@@ -1632,7 +1705,7 @@ await client.construe.listCodesInACodeSystem("ICD-10-CM", {
1632
1705
  </dl>
1633
1706
  </details>
1634
1707
 
1635
- <details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">getASpecificCode</a>(codesystem, codeId, { ...params }) -> phenoml.GetCodeResponse</code></summary>
1708
+ <details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">getASpecificCode</a>(codesystem, codeID, { ...params }) -> phenoml.GetCodeResponse</code></summary>
1636
1709
  <dl>
1637
1710
  <dd>
1638
1711
 
@@ -1687,7 +1760,7 @@ await client.construe.getASpecificCode("ICD-10-CM", "E11.65", {
1687
1760
  <dl>
1688
1761
  <dd>
1689
1762
 
1690
- **codeId:** `string` — The code identifier
1763
+ **codeID:** `string` — The code identifier
1691
1764
 
1692
1765
  </dd>
1693
1766
  </dl>
@@ -1907,7 +1980,7 @@ await client.construe.terminologyServerTextSearch("ICD-10-CM", {
1907
1980
  </details>
1908
1981
 
1909
1982
  ## Fhir
1910
- <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">search</a>(fhirProviderId, fhirPath, { ...params }) -> phenoml.FhirSearchResponse</code></summary>
1983
+ <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">search</a>(fhir_provider_id, fhir_path, { ...params }) -> phenoml.FhirSearchResponse</code></summary>
1911
1984
  <dl>
1912
1985
  <dd>
1913
1986
 
@@ -1955,7 +2028,7 @@ await client.fhir.search("550e8400-e29b-41d4-a716-446655440000", "Patient", {
1955
2028
  <dl>
1956
2029
  <dd>
1957
2030
 
1958
- **fhirProviderId:** `string`
2031
+ **fhir_provider_id:** `string`
1959
2032
 
1960
2033
  The ID of the FHIR provider to use. Can be either:
1961
2034
  - A UUID representing the provider ID
@@ -1967,7 +2040,7 @@ The ID of the FHIR provider to use. Can be either:
1967
2040
  <dl>
1968
2041
  <dd>
1969
2042
 
1970
- **fhirPath:** `string`
2043
+ **fhir_path:** `string`
1971
2044
 
1972
2045
  The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
1973
2046
  Examples:
@@ -2001,7 +2074,7 @@ Examples:
2001
2074
  </dl>
2002
2075
  </details>
2003
2076
 
2004
- <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">create</a>(fhirProviderId, fhirPath, { ...params }) -> phenoml.FhirResource</code></summary>
2077
+ <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">create</a>(fhir_provider_id, fhir_path, { ...params }) -> phenoml.FhirResource</code></summary>
2005
2078
  <dl>
2006
2079
  <dd>
2007
2080
 
@@ -2062,7 +2135,7 @@ await client.fhir.create("550e8400-e29b-41d4-a716-446655440000", "Patient", {
2062
2135
  <dl>
2063
2136
  <dd>
2064
2137
 
2065
- **fhirProviderId:** `string`
2138
+ **fhir_provider_id:** `string`
2066
2139
 
2067
2140
  The ID of the FHIR provider to use. Can be either:
2068
2141
  - A UUID representing the provider ID
@@ -2074,7 +2147,7 @@ The ID of the FHIR provider to use. Can be either:
2074
2147
  <dl>
2075
2148
  <dd>
2076
2149
 
2077
- **fhirPath:** `string`
2150
+ **fhir_path:** `string`
2078
2151
 
2079
2152
  The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
2080
2153
  Examples:
@@ -2108,7 +2181,7 @@ Examples:
2108
2181
  </dl>
2109
2182
  </details>
2110
2183
 
2111
- <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">upsert</a>(fhirProviderId, fhirPath, { ...params }) -> phenoml.FhirResource</code></summary>
2184
+ <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">upsert</a>(fhir_provider_id, fhir_path, { ...params }) -> phenoml.FhirResource</code></summary>
2112
2185
  <dl>
2113
2186
  <dd>
2114
2187
 
@@ -2171,7 +2244,7 @@ await client.fhir.upsert("550e8400-e29b-41d4-a716-446655440000", "Patient", {
2171
2244
  <dl>
2172
2245
  <dd>
2173
2246
 
2174
- **fhirProviderId:** `string`
2247
+ **fhir_provider_id:** `string`
2175
2248
 
2176
2249
  The ID of the FHIR provider to use. Can be either:
2177
2250
  - A UUID representing the provider ID
@@ -2183,7 +2256,7 @@ The ID of the FHIR provider to use. Can be either:
2183
2256
  <dl>
2184
2257
  <dd>
2185
2258
 
2186
- **fhirPath:** `string`
2259
+ **fhir_path:** `string`
2187
2260
 
2188
2261
  The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
2189
2262
  Examples:
@@ -2217,7 +2290,7 @@ Examples:
2217
2290
  </dl>
2218
2291
  </details>
2219
2292
 
2220
- <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">delete</a>(fhirProviderId, fhirPath, { ...params }) -> Record<string, unknown></code></summary>
2293
+ <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">delete</a>(fhir_provider_id, fhir_path, { ...params }) -> Record<string, unknown></code></summary>
2221
2294
  <dl>
2222
2295
  <dd>
2223
2296
 
@@ -2265,7 +2338,7 @@ await client.fhir.delete("550e8400-e29b-41d4-a716-446655440000", "Patient", {
2265
2338
  <dl>
2266
2339
  <dd>
2267
2340
 
2268
- **fhirProviderId:** `string`
2341
+ **fhir_provider_id:** `string`
2269
2342
 
2270
2343
  The ID of the FHIR provider to use. Can be either:
2271
2344
  - A UUID representing the provider ID
@@ -2277,7 +2350,7 @@ The ID of the FHIR provider to use. Can be either:
2277
2350
  <dl>
2278
2351
  <dd>
2279
2352
 
2280
- **fhirPath:** `string`
2353
+ **fhir_path:** `string`
2281
2354
 
2282
2355
  The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
2283
2356
  Examples:
@@ -2311,7 +2384,7 @@ Examples:
2311
2384
  </dl>
2312
2385
  </details>
2313
2386
 
2314
- <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">patch</a>(fhirProviderId, fhirPath, { ...params }) -> phenoml.FhirResource</code></summary>
2387
+ <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">patch</a>(fhir_provider_id, fhir_path, { ...params }) -> phenoml.FhirResource</code></summary>
2315
2388
  <dl>
2316
2389
  <dd>
2317
2390
 
@@ -2369,7 +2442,7 @@ await client.fhir.patch("550e8400-e29b-41d4-a716-446655440000", "Patient", {
2369
2442
  <dl>
2370
2443
  <dd>
2371
2444
 
2372
- **fhirProviderId:** `string`
2445
+ **fhir_provider_id:** `string`
2373
2446
 
2374
2447
  The ID of the FHIR provider to use. Can be either:
2375
2448
  - A UUID representing the provider ID
@@ -2381,7 +2454,7 @@ The ID of the FHIR provider to use. Can be either:
2381
2454
  <dl>
2382
2455
  <dd>
2383
2456
 
2384
- **fhirPath:** `string`
2457
+ **fhir_path:** `string`
2385
2458
 
2386
2459
  The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
2387
2460
  Examples:
@@ -2415,7 +2488,7 @@ Examples:
2415
2488
  </dl>
2416
2489
  </details>
2417
2490
 
2418
- <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">executeBundle</a>(fhirProviderId, { ...params }) -> phenoml.FhirBundle</code></summary>
2491
+ <details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">executeBundle</a>(fhir_provider_id, { ...params }) -> phenoml.FhirBundle</code></summary>
2419
2492
  <dl>
2420
2493
  <dd>
2421
2494
 
@@ -2497,7 +2570,7 @@ await client.fhir.executeBundle("550e8400-e29b-41d4-a716-446655440000", {
2497
2570
  <dl>
2498
2571
  <dd>
2499
2572
 
2500
- **fhirProviderId:** `string`
2573
+ **fhir_provider_id:** `string`
2501
2574
 
2502
2575
  The ID of the FHIR provider to use. Can be either:
2503
2576
  - A UUID representing the provider ID
@@ -2658,7 +2731,7 @@ await client.fhirProvider.list();
2658
2731
  </dl>
2659
2732
  </details>
2660
2733
 
2661
- <details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">get</a>(fhirProviderId) -> phenoml.FhirProviderResponse</code></summary>
2734
+ <details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">get</a>(fhir_provider_id) -> phenoml.FhirProviderResponse</code></summary>
2662
2735
  <dl>
2663
2736
  <dd>
2664
2737
 
@@ -2704,7 +2777,7 @@ await client.fhirProvider.get("fhir_provider_id");
2704
2777
  <dl>
2705
2778
  <dd>
2706
2779
 
2707
- **fhirProviderId:** `string` — ID of the FHIR provider to retrieve
2780
+ **fhir_provider_id:** `string` — ID of the FHIR provider to retrieve
2708
2781
 
2709
2782
  </dd>
2710
2783
  </dl>
@@ -2724,7 +2797,7 @@ await client.fhirProvider.get("fhir_provider_id");
2724
2797
  </dl>
2725
2798
  </details>
2726
2799
 
2727
- <details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">delete</a>(fhirProviderId) -> phenoml.FhirProviderDeleteResponse</code></summary>
2800
+ <details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">delete</a>(fhir_provider_id) -> phenoml.FhirProviderDeleteResponse</code></summary>
2728
2801
  <dl>
2729
2802
  <dd>
2730
2803
 
@@ -2769,7 +2842,7 @@ await client.fhirProvider.delete("fhir_provider_id");
2769
2842
  <dl>
2770
2843
  <dd>
2771
2844
 
2772
- **fhirProviderId:** `string` — ID of the FHIR provider to delete
2845
+ **fhir_provider_id:** `string` — ID of the FHIR provider to delete
2773
2846
 
2774
2847
  </dd>
2775
2848
  </dl>
@@ -2789,7 +2862,7 @@ await client.fhirProvider.delete("fhir_provider_id");
2789
2862
  </dl>
2790
2863
  </details>
2791
2864
 
2792
- <details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">addAuthConfig</a>(fhirProviderId, { ...params }) -> phenoml.FhirProviderResponse</code></summary>
2865
+ <details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">addAuthConfig</a>(fhir_provider_id, { ...params }) -> phenoml.FhirProviderResponse</code></summary>
2793
2866
  <dl>
2794
2867
  <dd>
2795
2868
 
@@ -2837,7 +2910,7 @@ await client.fhirProvider.addAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad",
2837
2910
  <dl>
2838
2911
  <dd>
2839
2912
 
2840
- **fhirProviderId:** `string` — ID of the FHIR provider to add auth config to
2913
+ **fhir_provider_id:** `string` — ID of the FHIR provider to add auth config to
2841
2914
 
2842
2915
  </dd>
2843
2916
  </dl>
@@ -2865,7 +2938,7 @@ await client.fhirProvider.addAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad",
2865
2938
  </dl>
2866
2939
  </details>
2867
2940
 
2868
- <details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">setActiveAuthConfig</a>(fhirProviderId, { ...params }) -> phenoml.FhirProviderResponse</code></summary>
2941
+ <details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">setActiveAuthConfig</a>(fhir_provider_id, { ...params }) -> phenoml.FhirProviderResponse</code></summary>
2869
2942
  <dl>
2870
2943
  <dd>
2871
2944
 
@@ -2916,7 +2989,7 @@ await client.fhirProvider.setActiveAuthConfig("1716d214-de93-43a4-aa6b-a878d864e
2916
2989
  <dl>
2917
2990
  <dd>
2918
2991
 
2919
- **fhirProviderId:** `string` — ID of the FHIR provider
2992
+ **fhir_provider_id:** `string` — ID of the FHIR provider
2920
2993
 
2921
2994
  </dd>
2922
2995
  </dl>
@@ -2944,7 +3017,7 @@ await client.fhirProvider.setActiveAuthConfig("1716d214-de93-43a4-aa6b-a878d864e
2944
3017
  </dl>
2945
3018
  </details>
2946
3019
 
2947
- <details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">removeAuthConfig</a>(fhirProviderId, { ...params }) -> phenoml.FhirProviderRemoveAuthConfigResponse</code></summary>
3020
+ <details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">removeAuthConfig</a>(fhir_provider_id, { ...params }) -> phenoml.FhirProviderRemoveAuthConfigResponse</code></summary>
2948
3021
  <dl>
2949
3022
  <dd>
2950
3023
 
@@ -2992,7 +3065,7 @@ await client.fhirProvider.removeAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad
2992
3065
  <dl>
2993
3066
  <dd>
2994
3067
 
2995
- **fhirProviderId:** `string` — ID of the FHIR provider
3068
+ **fhir_provider_id:** `string` — ID of the FHIR provider
2996
3069
 
2997
3070
  </dd>
2998
3071
  </dl>
@@ -4162,7 +4235,7 @@ await client.tools.mcpServer.list();
4162
4235
  </dl>
4163
4236
  </details>
4164
4237
 
4165
- <details><summary><code>client.tools.mcpServer.<a href="/src/api/resources/tools/resources/mcpServer/client/Client.ts">get</a>(mcpServerId) -> phenoml.McpServerResponse</code></summary>
4238
+ <details><summary><code>client.tools.mcpServer.<a href="/src/api/resources/tools/resources/mcpServer/client/Client.ts">get</a>(mcp_server_id) -> phenoml.McpServerResponse</code></summary>
4166
4239
  <dl>
4167
4240
  <dd>
4168
4241
 
@@ -4205,7 +4278,7 @@ await client.tools.mcpServer.get("mcp_server_id");
4205
4278
  <dl>
4206
4279
  <dd>
4207
4280
 
4208
- **mcpServerId:** `string` — ID of the MCP server to retrieve
4281
+ **mcp_server_id:** `string` — ID of the MCP server to retrieve
4209
4282
 
4210
4283
  </dd>
4211
4284
  </dl>
@@ -4225,7 +4298,7 @@ await client.tools.mcpServer.get("mcp_server_id");
4225
4298
  </dl>
4226
4299
  </details>
4227
4300
 
4228
- <details><summary><code>client.tools.mcpServer.<a href="/src/api/resources/tools/resources/mcpServer/client/Client.ts">delete</a>(mcpServerId) -> phenoml.McpServerResponse</code></summary>
4301
+ <details><summary><code>client.tools.mcpServer.<a href="/src/api/resources/tools/resources/mcpServer/client/Client.ts">delete</a>(mcp_server_id) -> phenoml.McpServerResponse</code></summary>
4229
4302
  <dl>
4230
4303
  <dd>
4231
4304
 
@@ -4268,7 +4341,7 @@ await client.tools.mcpServer.delete("mcp_server_id");
4268
4341
  <dl>
4269
4342
  <dd>
4270
4343
 
4271
- **mcpServerId:** `string` — ID of the MCP server to delete
4344
+ **mcp_server_id:** `string` — ID of the MCP server to delete
4272
4345
 
4273
4346
  </dd>
4274
4347
  </dl>
@@ -4289,7 +4362,7 @@ await client.tools.mcpServer.delete("mcp_server_id");
4289
4362
  </details>
4290
4363
 
4291
4364
  ## Tools McpServer Tools
4292
- <details><summary><code>client.tools.mcpServer.tools.<a href="/src/api/resources/tools/resources/mcpServer/resources/tools/client/Client.ts">list</a>(mcpServerId) -> phenoml.McpServerToolResponse</code></summary>
4365
+ <details><summary><code>client.tools.mcpServer.tools.<a href="/src/api/resources/tools/resources/mcpServer/resources/tools/client/Client.ts">list</a>(mcp_server_id) -> phenoml.McpServerToolResponse</code></summary>
4293
4366
  <dl>
4294
4367
  <dd>
4295
4368
 
@@ -4332,7 +4405,7 @@ await client.tools.mcpServer.tools.list("mcp_server_id");
4332
4405
  <dl>
4333
4406
  <dd>
4334
4407
 
4335
- **mcpServerId:** `string` — ID of the MCP server to list tools for
4408
+ **mcp_server_id:** `string` — ID of the MCP server to list tools for
4336
4409
 
4337
4410
  </dd>
4338
4411
  </dl>
@@ -4352,7 +4425,7 @@ await client.tools.mcpServer.tools.list("mcp_server_id");
4352
4425
  </dl>
4353
4426
  </details>
4354
4427
 
4355
- <details><summary><code>client.tools.mcpServer.tools.<a href="/src/api/resources/tools/resources/mcpServer/resources/tools/client/Client.ts">get</a>(mcpServerToolId) -> phenoml.McpServerToolResponse</code></summary>
4428
+ <details><summary><code>client.tools.mcpServer.tools.<a href="/src/api/resources/tools/resources/mcpServer/resources/tools/client/Client.ts">get</a>(mcp_server_tool_id) -> phenoml.McpServerToolResponse</code></summary>
4356
4429
  <dl>
4357
4430
  <dd>
4358
4431
 
@@ -4395,7 +4468,7 @@ await client.tools.mcpServer.tools.get("mcp_server_tool_id");
4395
4468
  <dl>
4396
4469
  <dd>
4397
4470
 
4398
- **mcpServerToolId:** `string` — ID of the MCP server tool to retrieve
4471
+ **mcp_server_tool_id:** `string` — ID of the MCP server tool to retrieve
4399
4472
 
4400
4473
  </dd>
4401
4474
  </dl>
@@ -4415,7 +4488,7 @@ await client.tools.mcpServer.tools.get("mcp_server_tool_id");
4415
4488
  </dl>
4416
4489
  </details>
4417
4490
 
4418
- <details><summary><code>client.tools.mcpServer.tools.<a href="/src/api/resources/tools/resources/mcpServer/resources/tools/client/Client.ts">delete</a>(mcpServerToolId) -> phenoml.McpServerToolResponse</code></summary>
4491
+ <details><summary><code>client.tools.mcpServer.tools.<a href="/src/api/resources/tools/resources/mcpServer/resources/tools/client/Client.ts">delete</a>(mcp_server_tool_id) -> phenoml.McpServerToolResponse</code></summary>
4419
4492
  <dl>
4420
4493
  <dd>
4421
4494
 
@@ -4458,7 +4531,7 @@ await client.tools.mcpServer.tools.delete("mcp_server_tool_id");
4458
4531
  <dl>
4459
4532
  <dd>
4460
4533
 
4461
- **mcpServerToolId:** `string` — ID of the MCP server tool to delete
4534
+ **mcp_server_tool_id:** `string` — ID of the MCP server tool to delete
4462
4535
 
4463
4536
  </dd>
4464
4537
  </dl>
@@ -4478,7 +4551,7 @@ await client.tools.mcpServer.tools.delete("mcp_server_tool_id");
4478
4551
  </dl>
4479
4552
  </details>
4480
4553
 
4481
- <details><summary><code>client.tools.mcpServer.tools.<a href="/src/api/resources/tools/resources/mcpServer/resources/tools/client/Client.ts">call</a>(mcpServerToolId, { ...params }) -> phenoml.McpServerToolCallResponse</code></summary>
4554
+ <details><summary><code>client.tools.mcpServer.tools.<a href="/src/api/resources/tools/resources/mcpServer/resources/tools/client/Client.ts">call</a>(mcp_server_tool_id, { ...params }) -> phenoml.McpServerToolCallResponse</code></summary>
4482
4555
  <dl>
4483
4556
  <dd>
4484
4557
 
@@ -4525,7 +4598,7 @@ await client.tools.mcpServer.tools.call("mcp_server_tool_id", {
4525
4598
  <dl>
4526
4599
  <dd>
4527
4600
 
4528
- **mcpServerToolId:** `string` — ID of the MCP server tool to call
4601
+ **mcp_server_tool_id:** `string` — ID of the MCP server tool to call
4529
4602
 
4530
4603
  </dd>
4531
4604
  </dl>