@salesforce/plugin-agent 1.42.1 → 1.43.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 (60) hide show
  1. package/README.md +476 -63
  2. package/lib/commands/agent/generate/test-spec.d.ts +9 -0
  3. package/lib/commands/agent/generate/test-spec.js +194 -11
  4. package/lib/commands/agent/generate/test-spec.js.map +1 -1
  5. package/lib/commands/agent/mcp/asset/list.d.ts +16 -0
  6. package/lib/commands/agent/mcp/asset/list.js +68 -0
  7. package/lib/commands/agent/mcp/asset/list.js.map +1 -0
  8. package/lib/commands/agent/mcp/asset/replace.d.ts +18 -0
  9. package/lib/commands/agent/mcp/asset/replace.js +95 -0
  10. package/lib/commands/agent/mcp/asset/replace.js.map +1 -0
  11. package/lib/commands/agent/mcp/create.d.ts +24 -0
  12. package/lib/commands/agent/mcp/create.js +112 -0
  13. package/lib/commands/agent/mcp/create.js.map +1 -0
  14. package/lib/commands/agent/mcp/delete.d.ts +19 -0
  15. package/lib/commands/agent/mcp/delete.js +65 -0
  16. package/lib/commands/agent/mcp/delete.js.map +1 -0
  17. package/lib/commands/agent/mcp/fetch.d.ts +16 -0
  18. package/lib/commands/agent/mcp/fetch.js +68 -0
  19. package/lib/commands/agent/mcp/fetch.js.map +1 -0
  20. package/lib/commands/agent/mcp/get.d.ts +16 -0
  21. package/lib/commands/agent/mcp/get.js +58 -0
  22. package/lib/commands/agent/mcp/get.js.map +1 -0
  23. package/lib/commands/agent/mcp/list.d.ts +18 -0
  24. package/lib/commands/agent/mcp/list.js +73 -0
  25. package/lib/commands/agent/mcp/list.js.map +1 -0
  26. package/lib/commands/agent/mcp/update.d.ts +24 -0
  27. package/lib/commands/agent/mcp/update.js +115 -0
  28. package/lib/commands/agent/mcp/update.js.map +1 -0
  29. package/lib/commands/agent/preview/start.d.ts +1 -0
  30. package/lib/commands/agent/preview/start.js +4 -1
  31. package/lib/commands/agent/preview/start.js.map +1 -1
  32. package/lib/commands/agent/preview.d.ts +1 -0
  33. package/lib/commands/agent/preview.js +4 -0
  34. package/lib/commands/agent/preview.js.map +1 -1
  35. package/lib/components/agent-preview-react.d.ts +2 -1
  36. package/lib/components/agent-preview-react.js +3 -3
  37. package/lib/components/agent-preview-react.js.map +1 -1
  38. package/lib/flags.d.ts +12 -1
  39. package/lib/flags.js +31 -0
  40. package/lib/flags.js.map +1 -1
  41. package/messages/agent.generate.test-spec.md +33 -5
  42. package/messages/agent.mcp.asset.list.md +25 -0
  43. package/messages/agent.mcp.asset.replace.md +49 -0
  44. package/messages/agent.mcp.create.md +61 -0
  45. package/messages/agent.mcp.delete.md +37 -0
  46. package/messages/agent.mcp.fetch.md +25 -0
  47. package/messages/agent.mcp.get.md +25 -0
  48. package/messages/agent.mcp.list.md +33 -0
  49. package/messages/agent.mcp.update.md +65 -0
  50. package/messages/shared.md +16 -0
  51. package/oclif.manifest.json +1750 -880
  52. package/package.json +14 -4
  53. package/schemas/agent-mcp-asset-list.json +65 -0
  54. package/schemas/agent-mcp-asset-replace.json +65 -0
  55. package/schemas/agent-mcp-create.json +144 -0
  56. package/schemas/agent-mcp-delete.json +22 -0
  57. package/schemas/agent-mcp-fetch.json +66 -0
  58. package/schemas/agent-mcp-get.json +86 -0
  59. package/schemas/agent-mcp-list.json +101 -0
  60. package/schemas/agent-mcp-update.json +86 -0
package/README.md CHANGED
@@ -76,6 +76,14 @@ sf plugins
76
76
  - [`sf agent generate authoring-bundle`](#sf-agent-generate-authoring-bundle)
77
77
  - [`sf agent generate template`](#sf-agent-generate-template)
78
78
  - [`sf agent generate test-spec`](#sf-agent-generate-test-spec)
79
+ - [`sf agent mcp asset list`](#sf-agent-mcp-asset-list)
80
+ - [`sf agent mcp asset replace`](#sf-agent-mcp-asset-replace)
81
+ - [`sf agent mcp create`](#sf-agent-mcp-create)
82
+ - [`sf agent mcp delete`](#sf-agent-mcp-delete)
83
+ - [`sf agent mcp fetch`](#sf-agent-mcp-fetch)
84
+ - [`sf agent mcp get`](#sf-agent-mcp-get)
85
+ - [`sf agent mcp list`](#sf-agent-mcp-list)
86
+ - [`sf agent mcp update`](#sf-agent-mcp-update)
79
87
  - [`sf agent preview`](#sf-agent-preview)
80
88
  - [`sf agent preview end`](#sf-agent-preview-end)
81
89
  - [`sf agent preview send`](#sf-agent-preview-send)
@@ -140,7 +148,7 @@ EXAMPLES
140
148
  $ sf agent activate --api-name Resort_Manager --version 2 --target-org my-org
141
149
  ```
142
150
 
143
- _See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/activate.ts)_
151
+ _See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/activate.ts)_
144
152
 
145
153
  ## `sf agent adl create`
146
154
 
@@ -198,7 +206,7 @@ EXAMPLES
198
206
  --source-type retriever --retriever-id 0ppXX0000000001
199
207
  ```
200
208
 
201
- _See code: [src/commands/agent/adl/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/adl/create.ts)_
209
+ _See code: [src/commands/agent/adl/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/create.ts)_
202
210
 
203
211
  ## `sf agent adl delete`
204
212
 
@@ -229,7 +237,7 @@ EXAMPLES
229
237
  $ sf agent adl delete --library-id 1JDSG000007IbWX4A0 --target-org myOrg
230
238
  ```
231
239
 
232
- _See code: [src/commands/agent/adl/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/adl/delete.ts)_
240
+ _See code: [src/commands/agent/adl/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/delete.ts)_
233
241
 
234
242
  ## `sf agent adl file add`
235
243
 
@@ -268,7 +276,7 @@ EXAMPLES
268
276
  $ sf agent adl file add -i 1JDSG000007IbWX4A0 --path ./docs/guide.pdf --path ./docs/faq.txt --target-org myOrg
269
277
  ```
270
278
 
271
- _See code: [src/commands/agent/adl/file/add.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/adl/file/add.ts)_
279
+ _See code: [src/commands/agent/adl/file/add.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/file/add.ts)_
272
280
 
273
281
  ## `sf agent adl file delete`
274
282
 
@@ -301,7 +309,7 @@ EXAMPLES
301
309
  $ sf agent adl file delete --library-id 1JDSG000007IbWX4A0 --file-id a1B2C3D4E5F6G7H8I9 --target-org myOrg
302
310
  ```
303
311
 
304
- _See code: [src/commands/agent/adl/file/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/adl/file/delete.ts)_
312
+ _See code: [src/commands/agent/adl/file/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/file/delete.ts)_
305
313
 
306
314
  ## `sf agent adl file list`
307
315
 
@@ -336,7 +344,7 @@ EXAMPLES
336
344
  $ sf agent adl file list --library-id 1JDSG000007IbWX4A0 --target-org myOrg --json
337
345
  ```
338
346
 
339
- _See code: [src/commands/agent/adl/file/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/adl/file/list.ts)_
347
+ _See code: [src/commands/agent/adl/file/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/file/list.ts)_
340
348
 
341
349
  ## `sf agent adl get`
342
350
 
@@ -367,7 +375,7 @@ EXAMPLES
367
375
  $ sf agent adl get --library-id 1JDSG000007IbWX4A0 --target-org myOrg
368
376
  ```
369
377
 
370
- _See code: [src/commands/agent/adl/get.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/adl/get.ts)_
378
+ _See code: [src/commands/agent/adl/get.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/get.ts)_
371
379
 
372
380
  ## `sf agent adl list`
373
381
 
@@ -404,7 +412,7 @@ EXAMPLES
404
412
  $ sf agent adl list --target-org myOrg --json
405
413
  ```
406
414
 
407
- _See code: [src/commands/agent/adl/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/adl/list.ts)_
415
+ _See code: [src/commands/agent/adl/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/list.ts)_
408
416
 
409
417
  ## `sf agent adl status`
410
418
 
@@ -436,7 +444,7 @@ EXAMPLES
436
444
  $ sf agent adl status --library-id 1JDSG000007IbWX4A0 --target-org myOrg
437
445
  ```
438
446
 
439
- _See code: [src/commands/agent/adl/status.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/adl/status.ts)_
447
+ _See code: [src/commands/agent/adl/status.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/status.ts)_
440
448
 
441
449
  ## `sf agent adl update`
442
450
 
@@ -488,7 +496,7 @@ EXAMPLES
488
496
  $ sf agent adl update --library-id 1JDSG000007IbWX4A0 --restrict-to-public-articles --target-org myOrg
489
497
  ```
490
498
 
491
- _See code: [src/commands/agent/adl/update.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/adl/update.ts)_
499
+ _See code: [src/commands/agent/adl/update.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/update.ts)_
492
500
 
493
501
  ## `sf agent adl upload`
494
502
 
@@ -531,7 +539,7 @@ EXAMPLES
531
539
  $ sf agent adl upload --library-id 1JDSG000007IbWX4A0 --file ./docs/guide.pdf --target-org myOrg
532
540
  ```
533
541
 
534
- _See code: [src/commands/agent/adl/upload.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/adl/upload.ts)_
542
+ _See code: [src/commands/agent/adl/upload.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/upload.ts)_
535
543
 
536
544
  ## `sf agent create`
537
545
 
@@ -598,7 +606,7 @@ EXAMPLES
598
606
  $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
599
607
  ```
600
608
 
601
- _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/create.ts)_
609
+ _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/create.ts)_
602
610
 
603
611
  ## `sf agent deactivate`
604
612
 
@@ -639,7 +647,7 @@ EXAMPLES
639
647
  $ sf agent deactivate --api-name Resort_Manager --target-org my-org
640
648
  ```
641
649
 
642
- _See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/deactivate.ts)_
650
+ _See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/deactivate.ts)_
643
651
 
644
652
  ## `sf agent generate agent-spec`
645
653
 
@@ -746,7 +754,7 @@ EXAMPLES
746
754
  $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
747
755
  ```
748
756
 
749
- _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/generate/agent-spec.ts)_
757
+ _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/generate/agent-spec.ts)_
750
758
 
751
759
  ## `sf agent generate authoring-bundle`
752
760
 
@@ -823,7 +831,7 @@ EXAMPLES
823
831
  other-package-dir/main/default --target-org my-dev-org
824
832
  ```
825
833
 
826
- _See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/generate/authoring-bundle.ts)_
834
+ _See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/generate/authoring-bundle.ts)_
827
835
 
828
836
  ## `sf agent generate template`
829
837
 
@@ -885,7 +893,7 @@ EXAMPLES
885
893
  my-package --source-org my-scratch-org
886
894
  ```
887
895
 
888
- _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/generate/template.ts)_
896
+ _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/generate/template.ts)_
889
897
 
890
898
  ## `sf agent generate test-spec`
891
899
 
@@ -893,14 +901,18 @@ Generate an agent test spec, which is a YAML file that lists the test cases for
893
901
 
894
902
  ```
895
903
  USAGE
896
- $ sf agent generate test-spec [--flags-dir <value>] [-d <value>] [--force-overwrite] [-f <value>]
904
+ $ sf agent generate test-spec [--flags-dir <value>] [-d <value>] [--force-overwrite] [-f <value>] [--test-runner
905
+ agentforce-studio|testing-center]
897
906
 
898
907
  FLAGS
899
- -d, --from-definition=<value> Filepath to the AIEvaluationDefinition metadata XML file in your DX project that you
900
- want to convert to a test spec YAML file.
908
+ -d, --from-definition=<value> Filepath to an AiEvaluationDefinition or AiTestingDefinition metadata XML file in your
909
+ DX project that you want to convert to a test spec YAML file.
901
910
  -f, --output-file=<value> Name of the generated test spec YAML file. Default value is
902
- "specs/<AGENT_API_NAME>-testSpec.yaml".
911
+ "specs/<AGENT_API_NAME>-testSpec.yaml" (legacy) or
912
+ "specs/<AGENT_API_NAME>-ngtTestSpec.yaml" (Agentforce Studio).
903
913
  --force-overwrite Don't prompt for confirmation when overwriting an existing test spec YAML file.
914
+ --test-runner=<option> Explicitly specify which test runner to use (agentforce-studio or testing-center).
915
+ <options: agentforce-studio|testing-center>
904
916
 
905
917
  GLOBAL FLAGS
906
918
  --flags-dir=<value> Import flag values from a directory.
@@ -929,16 +941,22 @@ DESCRIPTION
929
941
  information.
930
942
 
931
943
  When your test spec is ready, you then run the "agent test create" command to actually create the test in your org and
932
- synchronize the metadata with your DX project. The metadata type for an agent test is AiEvaluationDefinition.
944
+ synchronize the metadata with your DX project. The metadata type for an agent test is `AiEvaluationDefinition` (legacy
945
+ testing-center) or `AiTestingDefinition` (Agentforce Studio / NGT), selected via --test-runner.
933
946
 
934
- If you have an existing AiEvaluationDefinition metadata XML file in your DX project, you can generate its equivalent
935
- YAML test spec file with the --from-definition flag.
947
+ If you have an existing AiEvaluationDefinition or AiTestingDefinition metadata XML file in your DX project, you can
948
+ generate its equivalent YAML test spec file with the --from-definition flag. The runner is inferred from the file
949
+ extension; pass --test-runner to override.
936
950
 
937
951
  EXAMPLES
938
952
  Generate an agent test spec YAML file interactively:
939
953
 
940
954
  $ sf agent generate test-spec
941
955
 
956
+ Generate an Agentforce Studio (NGT) test spec YAML file interactively:
957
+
958
+ $ sf agent generate test-spec --test-runner agentforce-studio
959
+
942
960
  Generate an agent test spec YAML file and specify a name for the new file; if the file exists, overwrite it without
943
961
  confirmation:
944
962
 
@@ -947,10 +965,361 @@ EXAMPLES
947
965
  Generate an agent test spec YAML file from an existing AiEvaluationDefinition metadata XML file in your DX project:
948
966
 
949
967
  $ sf agent generate test-spec --from-definition \
950
- force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
968
+ force-app/main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
969
+
970
+ Generate an Agentforce Studio (NGT) test spec YAML file from an existing AiTestingDefinition metadata XML file:
971
+
972
+ $ sf agent generate test-spec --from-definition \
973
+ force-app/main/default/aiTestingDefinitions/Returns_Checkout_Tests.aiTestingDefinition-meta.xml
974
+
975
+ FLAG DESCRIPTIONS
976
+ --test-runner=agentforce-studio|testing-center
977
+
978
+ Explicitly specify which test runner to use (agentforce-studio or testing-center).
979
+
980
+ By default, the command automatically detects which test runner to use based on the test definition metadata type in
981
+ your org. Use this flag to explicitly specify the runner type. 'agentforce-studio' uses AiTestingDefinition
982
+ metadata. 'testing-center' uses AiEvaluationDefinition metadata.
983
+ ```
984
+
985
+ _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/generate/test-spec.ts)_
986
+
987
+ ## `sf agent mcp asset list`
988
+
989
+ List the assets (tools, prompts, and resources) for an MCP server in the catalog.
990
+
991
+ ```
992
+ USAGE
993
+ $ sf agent mcp asset list -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
994
+
995
+ FLAGS
996
+ -i, --mcp-server-id=<value> (required) The ID of the MCP server whose assets you want to list.
997
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
998
+ configuration variable is already set.
999
+ --api-version=<value> Override the api version used for api requests made by this command
1000
+
1001
+ GLOBAL FLAGS
1002
+ --flags-dir=<value> Import flag values from a directory.
1003
+ --json Format output as json.
1004
+
1005
+ DESCRIPTION
1006
+ List the assets (tools, prompts, and resources) for an MCP server in the catalog.
1007
+
1008
+ Returns the assets discovered for the specified MCP server, including each asset's kind (MCP_TOOL, MCP_PROMPT, or
1009
+ MCP_RESOURCE), whether it is active, and whether it is available as an agent action.
1010
+
1011
+ EXAMPLES
1012
+ List the assets for an MCP server in the default target org:
1013
+
1014
+ $ sf agent mcp asset list --target-org myOrg --mcp-server-id 0XSxx0000000001
1015
+
1016
+ List the assets for an MCP server and output as JSON:
1017
+
1018
+ $ sf agent mcp asset list --target-org myOrg --mcp-server-id 0XSxx0000000001 --json
1019
+ ```
1020
+
1021
+ _See code: [src/commands/agent/mcp/asset/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/asset/list.ts)_
1022
+
1023
+ ## `sf agent mcp asset replace`
1024
+
1025
+ Replace the asset set of an MCP server in the API Catalog.
1026
+
1027
+ ```
1028
+ USAGE
1029
+ $ sf agent mcp asset replace -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [--assets <value>
1030
+ | --assets-file <value>]
1031
+
1032
+ FLAGS
1033
+ -i, --mcp-server-id=<value> (required) ID of the MCP server whose assets you want to replace.
1034
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1035
+ configuration variable is already set.
1036
+ --api-version=<value> Override the api version used for api requests made by this command
1037
+ --assets=<value> The desired asset allowlist as a JSON string (or "-" to read from stdin). Mutually
1038
+ exclusive with --assets-file.
1039
+ --assets-file=<value> Path to a JSON file containing the desired asset allowlist. Mutually exclusive with
1040
+ --assets.
1041
+
1042
+ GLOBAL FLAGS
1043
+ --flags-dir=<value> Import flag values from a directory.
1044
+ --json Format output as json.
1045
+
1046
+ DESCRIPTION
1047
+ Replace the asset set of an MCP server in the API Catalog.
1048
+
1049
+ Replaces the full set of assets (tools, prompts, resources) for an MCP server with the asset items you supply. Provide
1050
+ the assets either inline with `--assets` (a JSON string, or `-` to read from stdin) or from a file with
1051
+ `--assets-file`. The JSON must be either an array of asset items or an object of the form `{ "assets": [...] }`. Each
1052
+ asset item may include `id`, `name`, `label`, `description`, `active`, and `kind`. This is a full replacement:
1053
+ existing assets not present in the supplied set are removed, so provide the complete desired asset set (read the
1054
+ current set first with `agent mcp asset list` or `agent mcp fetch`).
1055
+
1056
+ EXAMPLES
1057
+ Replace the assets inline with a JSON string:
1058
+
1059
+ $ sf agent mcp asset replace --mcp-server-id 0XSxx0000000001 --assets \
1060
+ '{"assets":[{"name":"McpTool__add","active":true}]}' --target-org myOrg
1061
+
1062
+ Replace the assets from a JSON file:
1063
+
1064
+ $ sf agent mcp asset replace --mcp-server-id 0XSxx0000000001 --assets-file ./assets.json --target-org myOrg
1065
+
1066
+ Pipe the assets from stdin:
1067
+ cat assets.json | sf agent mcp asset replace --mcp-server-id 0XSxx0000000001 --assets - --target-org myOrg
1068
+ ```
1069
+
1070
+ _See code: [src/commands/agent/mcp/asset/replace.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/asset/replace.ts)_
1071
+
1072
+ ## `sf agent mcp create`
1073
+
1074
+ Create an MCP server in the API Catalog.
1075
+
1076
+ ```
1077
+ USAGE
1078
+ $ sf agent mcp create -o <value> -n <value> --server-url <value> [--json] [--flags-dir <value>] [--api-version
1079
+ <value>] [--label <value>] [--description <value>] [--auth-type OAUTH|NO_AUTH] [--identity-provider <value>]
1080
+ [--client-id <value>] [--client-secret <value>] [--scope <value>]
1081
+
1082
+ FLAGS
1083
+ -n, --name=<value> (required) Unique name of the MCP server.
1084
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1085
+ configuration variable is already set.
1086
+ --api-version=<value> Override the api version used for api requests made by this command
1087
+ --auth-type=<option> [default: NO_AUTH] Authorization type to use when connecting to the MCP server.
1088
+ <options: OAUTH|NO_AUTH>
1089
+ --client-id=<value> OAuth client ID. Required when auth-type is OAUTH.
1090
+ --client-secret=<value> OAuth client secret. Required when auth-type is OAUTH. Pass "-" to read it from stdin
1091
+ (piped) and keep it out of shell history.
1092
+ --description=<value> Description of the MCP server.
1093
+ --identity-provider=<value> Identity provider to use for OAuth authorization. Required when auth-type is OAUTH.
1094
+ --label=<value> Human-readable label for the MCP server.
1095
+ --scope=<value> OAuth scope to request. Required when auth-type is OAUTH.
1096
+ --server-url=<value> (required) URL of the external MCP server.
1097
+
1098
+ GLOBAL FLAGS
1099
+ --flags-dir=<value> Import flag values from a directory.
1100
+ --json Format output as json.
1101
+
1102
+ DESCRIPTION
1103
+ Create an MCP server in the API Catalog.
1104
+
1105
+ Registers an external Model Context Protocol (MCP) server with the API Catalog and discovers its assets (tools,
1106
+ prompts, and resources). Provide the server URL and, when the server requires it, OAuth authorization details. When
1107
+ the authorization type is OAUTH you must supply the identity provider, client ID, client secret, and scope.
1108
+
1109
+ EXAMPLES
1110
+ Create an MCP server with no authentication:
1111
+
1112
+ $ sf agent mcp create --name myServer --server-url https://mcp.example.com --target-org myOrg
1113
+
1114
+ Create an MCP server that uses OAuth authentication, piping the client secret from stdin to keep it out of shell history:
1115
+ cat secret.txt | sf agent mcp create --name myServer --server-url https://mcp.example.com --auth-type OAUTH --identity-provider myIdp --client-id abc123 --client-secret - --scope "read write" --target-org myOrg
1116
+ ```
1117
+
1118
+ _See code: [src/commands/agent/mcp/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/create.ts)_
1119
+
1120
+ ## `sf agent mcp delete`
1121
+
1122
+ Delete an MCP server from the API Catalog.
1123
+
1124
+ ```
1125
+ USAGE
1126
+ $ sf agent mcp delete -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [--no-prompt]
1127
+
1128
+ FLAGS
1129
+ -i, --mcp-server-id=<value> (required) ID of the MCP server to delete.
1130
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1131
+ configuration variable is already set.
1132
+ --api-version=<value> Override the api version used for api requests made by this command
1133
+ --no-prompt Skip the confirmation prompt and delete the MCP server immediately.
1134
+
1135
+ GLOBAL FLAGS
1136
+ --flags-dir=<value> Import flag values from a directory.
1137
+ --json Format output as json.
1138
+
1139
+ DESCRIPTION
1140
+ Delete an MCP server from the API Catalog.
1141
+
1142
+ Permanently removes an MCP (Model Context Protocol) server registration from the API Catalog, identified by its ID. By
1143
+ default you are prompted to confirm the deletion; pass --no-prompt to skip the confirmation (for example in scripts
1144
+ and CI).
1145
+
1146
+ EXAMPLES
1147
+ Delete an MCP server, confirming interactively:
1148
+
1149
+ $ sf agent mcp delete --mcp-server-id 0XSxx0000000001 --target-org myOrg
1150
+
1151
+ Delete an MCP server without a confirmation prompt:
1152
+
1153
+ $ sf agent mcp delete --mcp-server-id 0XSxx0000000001 --target-org myOrg --no-prompt
1154
+ ```
1155
+
1156
+ _See code: [src/commands/agent/mcp/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/delete.ts)_
1157
+
1158
+ ## `sf agent mcp fetch`
1159
+
1160
+ Fetch the live assets (tools, prompts, resources) advertised by an MCP server.
1161
+
1162
+ ```
1163
+ USAGE
1164
+ $ sf agent mcp fetch -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
1165
+
1166
+ FLAGS
1167
+ -i, --mcp-server-id=<value> (required) ID of the MCP server to fetch assets from.
1168
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1169
+ configuration variable is already set.
1170
+ --api-version=<value> Override the api version used for api requests made by this command
1171
+
1172
+ GLOBAL FLAGS
1173
+ --flags-dir=<value> Import flag values from a directory.
1174
+ --json Format output as json.
1175
+
1176
+ DESCRIPTION
1177
+ Fetch the live assets (tools, prompts, resources) advertised by an MCP server.
1178
+
1179
+ Performs a live fetch against the configured MCP server identified by its ID, returning the assets (MCP tools,
1180
+ prompts, and resources) it currently advertises along with their status and activation state. Use this to refresh the
1181
+ view of what an MCP server exposes before activating its assets as agent actions.
1182
+
1183
+ EXAMPLES
1184
+ Fetch the assets advertised by an MCP server in the default target org:
1185
+
1186
+ $ sf agent mcp fetch --target-org myOrg --mcp-server-id 0XSxx0000000001
1187
+
1188
+ Fetch MCP server assets and output as JSON:
1189
+
1190
+ $ sf agent mcp fetch --target-org myOrg --mcp-server-id 0XSxx0000000001 --json
1191
+ ```
1192
+
1193
+ _See code: [src/commands/agent/mcp/fetch.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/fetch.ts)_
1194
+
1195
+ ## `sf agent mcp get`
1196
+
1197
+ Get a single MCP server registered in the API Catalog.
1198
+
1199
+ ```
1200
+ USAGE
1201
+ $ sf agent mcp get -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
1202
+
1203
+ FLAGS
1204
+ -i, --mcp-server-id=<value> (required) The identifier of the MCP server to retrieve.
1205
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1206
+ configuration variable is already set.
1207
+ --api-version=<value> Override the api version used for api requests made by this command
1208
+
1209
+ GLOBAL FLAGS
1210
+ --flags-dir=<value> Import flag values from a directory.
1211
+ --json Format output as json.
1212
+
1213
+ DESCRIPTION
1214
+ Get a single MCP server registered in the API Catalog.
1215
+
1216
+ Retrieves the details of an MCP (Model Context Protocol) server by its identifier, including its name, label, type,
1217
+ status, and server URL.
1218
+
1219
+ EXAMPLES
1220
+ Get an MCP server by id in the default target org:
1221
+
1222
+ $ sf agent mcp get --target-org myOrg --mcp-server-id 0Mx000000000001
1223
+
1224
+ Get an MCP server and output as JSON:
1225
+
1226
+ $ sf agent mcp get --target-org myOrg --mcp-server-id 0Mx000000000001 --json
1227
+ ```
1228
+
1229
+ _See code: [src/commands/agent/mcp/get.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/get.ts)_
1230
+
1231
+ ## `sf agent mcp list`
1232
+
1233
+ List the MCP servers registered in the API Catalog.
1234
+
1235
+ ```
1236
+ USAGE
1237
+ $ sf agent mcp list -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [--label <value>] [--type
1238
+ EXTERNAL] [--status ACTIVE|DISCONNECTED]
1239
+
1240
+ FLAGS
1241
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1242
+ configuration variable is already set.
1243
+ --api-version=<value> Override the api version used for api requests made by this command
1244
+ --label=<value> Filter the MCP servers by label.
1245
+ --status=<option> Filter the MCP servers by connection status. Only ACTIVE and DISCONNECTED are supported as
1246
+ filters.
1247
+ <options: ACTIVE|DISCONNECTED>
1248
+ --type=<option> Filter the MCP servers by type.
1249
+ <options: EXTERNAL>
1250
+
1251
+ GLOBAL FLAGS
1252
+ --flags-dir=<value> Import flag values from a directory.
1253
+ --json Format output as json.
1254
+
1255
+ DESCRIPTION
1256
+ List the MCP servers registered in the API Catalog.
1257
+
1258
+ Returns the Model Context Protocol (MCP) servers registered in the API Catalog, optionally filtered by label, type, or
1259
+ status. Use this to discover which MCP servers are available and inspect their server URLs and current status.
1260
+
1261
+ EXAMPLES
1262
+ List all MCP servers in the default target org:
1263
+
1264
+ $ sf agent mcp list --target-org myOrg
1265
+
1266
+ List external MCP servers filtered by status and output as JSON:
1267
+
1268
+ $ sf agent mcp list --target-org myOrg --type EXTERNAL --status ACTIVE --json
1269
+ ```
1270
+
1271
+ _See code: [src/commands/agent/mcp/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/list.ts)_
1272
+
1273
+ ## `sf agent mcp update`
1274
+
1275
+ Update an MCP server registered in the API Catalog.
1276
+
1277
+ ```
1278
+ USAGE
1279
+ $ sf agent mcp update -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [--label <value>]
1280
+ [--description <value>] [--server-url <value>] [--auth-type OAUTH|NO_AUTH] [--identity-provider <value>]
1281
+ [--client-id <value>] [--client-secret <value>] [--scope <value>]
1282
+
1283
+ FLAGS
1284
+ -i, --mcp-server-id=<value> (required) ID of the MCP server to update.
1285
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1286
+ configuration variable is already set.
1287
+ --api-version=<value> Override the api version used for api requests made by this command
1288
+ --auth-type=<option> Authorization type to apply to the MCP server (OAUTH or NO_AUTH).
1289
+ <options: OAUTH|NO_AUTH>
1290
+ --client-id=<value> OAuth client ID (required when --auth-type is OAUTH).
1291
+ --client-secret=<value> OAuth client secret (required when --auth-type is OAUTH). Pass "-" to read it from
1292
+ stdin (piped) and keep it out of shell history.
1293
+ --description=<value> New description for the MCP server.
1294
+ --identity-provider=<value> Identity provider name for OAuth authorization (required when --auth-type is OAUTH).
1295
+ --label=<value> New display label for the MCP server.
1296
+ --scope=<value> OAuth scope (required when --auth-type is OAUTH).
1297
+ --server-url=<value> New endpoint URL of the MCP server.
1298
+
1299
+ GLOBAL FLAGS
1300
+ --flags-dir=<value> Import flag values from a directory.
1301
+ --json Format output as json.
1302
+
1303
+ DESCRIPTION
1304
+ Update an MCP server registered in the API Catalog.
1305
+
1306
+ Updates an existing MCP server in the API Catalog. Only the fields you provide are changed; omitted fields are left
1307
+ untouched. You can update the label, description, and server URL, and replace the authorization configuration. When
1308
+ setting `--auth-type OAUTH`, you must also provide `--identity-provider`, `--client-id`, `--client-secret`, and
1309
+ `--scope`. When setting `--auth-type NO_AUTH`, no authorization credentials are required. At least one updatable field
1310
+ must be supplied.
1311
+
1312
+ EXAMPLES
1313
+ Update the label and description of an MCP server in the default target org:
1314
+
1315
+ $ sf agent mcp update --mcp-server-id 0XSxx0000000001 --label "Orders MCP" --description "Order tooling" \
1316
+ --target-org myOrg
1317
+
1318
+ Update the server URL and switch the authorization to OAuth, piping the client secret from stdin and outputting as JSON:
1319
+ cat secret.txt | sf agent mcp update --mcp-server-id 0XSxx0000000001 --server-url https://mcp.example.com --auth-type OAUTH --identity-provider MyIdp --client-id abc --client-secret - --scope "read write" --target-org myOrg --json
951
1320
  ```
952
1321
 
953
- _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/generate/test-spec.ts)_
1322
+ _See code: [src/commands/agent/mcp/update.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/update.ts)_
954
1323
 
955
1324
  ## `sf agent preview`
956
1325
 
@@ -959,19 +1328,20 @@ Interact with an agent to preview how it responds to your statements, questions,
959
1328
  ```
960
1329
  USAGE
961
1330
  $ sf agent preview -o <value> [--flags-dir <value>] [--api-version <value>] [-n <value>] [--authoring-bundle
962
- <value>] [-d <value>] [-x] [--use-live-actions]
1331
+ <value>] [-d <value>] [-x] [--use-live-actions] [--context-variables <value>...]
963
1332
 
964
1333
  FLAGS
965
- -d, --output-dir=<value> Directory where conversation transcripts are saved.
966
- -n, --api-name=<value> API name of the activated published agent you want to interact with.
967
- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
968
- configuration variable is already set.
969
- -x, --apex-debug Enable Apex debug logging during the agent preview conversation.
970
- --api-version=<value> Override the api version used for api requests made by this command
971
- --authoring-bundle=<value> API name of the authoring bundle metadata component that contains the agent's Agent
972
- Script file.
973
- --use-live-actions Use real actions in the org; if not specified, preview uses AI to simulate (mock)
974
- actions.
1334
+ -d, --output-dir=<value> Directory where conversation transcripts are saved.
1335
+ -n, --api-name=<value> API name of the activated published agent you want to interact with.
1336
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1337
+ configuration variable is already set.
1338
+ -x, --apex-debug Enable Apex debug logging during the agent preview conversation.
1339
+ --api-version=<value> Override the api version used for api requests made by this command
1340
+ --authoring-bundle=<value> API name of the authoring bundle metadata component that contains the agent's
1341
+ Agent Script file.
1342
+ --context-variables=<value>... Session variables for the agent preview session, in the form Name=Value.
1343
+ --use-live-actions Use real actions in the org; if not specified, preview uses AI to simulate (mock)
1344
+ actions.
975
1345
 
976
1346
  GLOBAL FLAGS
977
1347
  --flags-dir=<value> Import flag values from a directory.
@@ -1021,9 +1391,30 @@ EXAMPLES
1021
1391
  "./transcripts/my-preview" directory, enable the Apex debug logs, and use your default org:
1022
1392
 
1023
1393
  $ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
1394
+
1395
+ FLAG DESCRIPTIONS
1396
+ --context-variables=<value>... Session variables for the agent preview session, in the form Name=Value.
1397
+
1398
+ Sets variables on the agent preview session, mirroring what the in-org Agentforce Builder UI does when you override
1399
+ variables before sending a message. Specify this flag multiple times or use comma-separated values. Two namespaces
1400
+ are supported, distinguished by the name shape. Names pass through to the runtime verbatim — the CLI doesn't
1401
+ transform them.
1402
+
1403
+ Linked context variables use the "$Context." prefix. These map to externally-provided fields that the runtime
1404
+ resolves (declared in the bundle's globalConfiguration.contextVariables) and are read by live actions and
1405
+ topic-routing expressions via $Context.Name. Example: $Context.MyLinkedVar=some-value.
1406
+
1407
+ State variables use the bare developerName, no prefix. These seed mutable agent state declared in
1408
+ agentVersion.stateVariables. Example: MyStateVar=some-value.
1409
+
1410
+ Both namespaces can be mixed in one value. Example: --context-variables '$Context.MyLinkedVar=foo,MyStateVar=bar'.
1411
+
1412
+ Tips: (1) Quote the whole value in single quotes so $Context isn't shell-expanded. (2) Names are sent verbatim — a
1413
+ bare name is treated as a state variable, not a linked context variable, so live actions that bind via $Context.Name
1414
+ will see null. (3) Type defaults to Text.
1024
1415
  ```
1025
1416
 
1026
- _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/preview.ts)_
1417
+ _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/preview.ts)_
1027
1418
 
1028
1419
  ## `sf agent preview end`
1029
1420
 
@@ -1095,7 +1486,7 @@ EXAMPLES
1095
1486
  $ sf agent preview end --all --target-org <target_org>
1096
1487
  ```
1097
1488
 
1098
- _See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/preview/end.ts)_
1489
+ _See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/preview/end.ts)_
1099
1490
 
1100
1491
  ## `sf agent preview send`
1101
1492
 
@@ -1153,7 +1544,7 @@ EXAMPLES
1153
1544
  $ sf agent preview send --utterance "what can you help me with?" --authoring-bundle My_Local_Agent
1154
1545
  ```
1155
1546
 
1156
- _See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/preview/send.ts)_
1547
+ _See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/preview/send.ts)_
1157
1548
 
1158
1549
  ## `sf agent preview sessions`
1159
1550
 
@@ -1186,7 +1577,7 @@ EXAMPLES
1186
1577
  $ sf agent preview sessions
1187
1578
  ```
1188
1579
 
1189
- _See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/preview/sessions.ts)_
1580
+ _See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/preview/sessions.ts)_
1190
1581
 
1191
1582
  ## `sf agent preview start`
1192
1583
 
@@ -1195,19 +1586,20 @@ Start a programmatic agent preview session.
1195
1586
  ```
1196
1587
  USAGE
1197
1588
  $ sf agent preview start -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>]
1198
- [--authoring-bundle <value>] [--use-live-actions | --simulate-actions]
1589
+ [--authoring-bundle <value>] [--use-live-actions | --simulate-actions] [--context-variables <value>...]
1199
1590
 
1200
1591
  FLAGS
1201
- -n, --api-name=<value> API name of the activated published agent you want to preview.
1202
- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1203
- configuration variable is already set.
1204
- --api-version=<value> Override the api version used for api requests made by this command
1205
- --authoring-bundle=<value> API name of the authoring bundle metadata component that contains the agent's Agent
1206
- Script file.
1207
- --simulate-actions Use AI to simulate action execution instead of calling real actions. Required with
1208
- --authoring-bundle.
1209
- --use-live-actions Execute real actions in the org (Apex classes, flows, etc.). Required with
1210
- --authoring-bundle.
1592
+ -n, --api-name=<value> API name of the activated published agent you want to preview.
1593
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1594
+ configuration variable is already set.
1595
+ --api-version=<value> Override the api version used for api requests made by this command
1596
+ --authoring-bundle=<value> API name of the authoring bundle metadata component that contains the agent's
1597
+ Agent Script file.
1598
+ --context-variables=<value>... Session variables for the agent preview session, in the form Name=Value.
1599
+ --simulate-actions Use AI to simulate action execution instead of calling real actions. Required with
1600
+ --authoring-bundle.
1601
+ --use-live-actions Execute real actions in the org (Apex classes, flows, etc.). Required with
1602
+ --authoring-bundle.
1211
1603
 
1212
1604
  GLOBAL FLAGS
1213
1605
  --flags-dir=<value> Import flag values from a directory.
@@ -1249,9 +1641,30 @@ EXAMPLES
1249
1641
  Start a preview session with an activated published agent (always uses live actions):
1250
1642
 
1251
1643
  $ sf agent preview start --api-name My_Published_Agent
1644
+
1645
+ FLAG DESCRIPTIONS
1646
+ --context-variables=<value>... Session variables for the agent preview session, in the form Name=Value.
1647
+
1648
+ Sets variables on the agent preview session, mirroring what the in-org Agentforce Builder UI does when you override
1649
+ variables before sending a message. Specify this flag multiple times or use comma-separated values. Two namespaces
1650
+ are supported, distinguished by the name shape. Names pass through to the runtime verbatim — the CLI doesn't
1651
+ transform them.
1652
+
1653
+ Linked context variables use the "$Context." prefix. These map to externally-provided fields that the runtime
1654
+ resolves (declared in the bundle's globalConfiguration.contextVariables) and are read by live actions and
1655
+ topic-routing expressions via $Context.Name. Example: $Context.MyLinkedVar=some-value.
1656
+
1657
+ State variables use the bare developerName, no prefix. These seed mutable agent state declared in
1658
+ agentVersion.stateVariables. Example: MyStateVar=some-value.
1659
+
1660
+ Both namespaces can be mixed in one value. Example: --context-variables '$Context.MyLinkedVar=foo,MyStateVar=bar'.
1661
+
1662
+ Tips: (1) Quote the whole value in single quotes so $Context isn't shell-expanded. (2) Names are sent verbatim — a
1663
+ bare name is treated as a state variable, not a linked context variable, so live actions that bind via $Context.Name
1664
+ will see null. (3) Type defaults to Text.
1252
1665
  ```
1253
1666
 
1254
- _See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/preview/start.ts)_
1667
+ _See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/preview/start.ts)_
1255
1668
 
1256
1669
  ## `sf agent publish authoring-bundle`
1257
1670
 
@@ -1311,7 +1724,7 @@ EXAMPLES
1311
1724
  $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --concise
1312
1725
  ```
1313
1726
 
1314
- _See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/publish/authoring-bundle.ts)_
1727
+ _See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/publish/authoring-bundle.ts)_
1315
1728
 
1316
1729
  ## `sf agent test create`
1317
1730
 
@@ -1383,7 +1796,7 @@ FLAG DESCRIPTIONS
1383
1796
  metadata. 'testing-center' uses AiEvaluationDefinition metadata.
1384
1797
  ```
1385
1798
 
1386
- _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/test/create.ts)_
1799
+ _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/create.ts)_
1387
1800
 
1388
1801
  ## `sf agent test list`
1389
1802
 
@@ -1418,7 +1831,7 @@ EXAMPLES
1418
1831
  $ sf agent test list --target-org my-org
1419
1832
  ```
1420
1833
 
1421
- _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/test/list.ts)_
1834
+ _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/list.ts)_
1422
1835
 
1423
1836
  ## `sf agent test results`
1424
1837
 
@@ -1494,7 +1907,7 @@ FLAG DESCRIPTIONS
1494
1907
  expression when using custom evaluations.
1495
1908
  ```
1496
1909
 
1497
- _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/test/results.ts)_
1910
+ _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/results.ts)_
1498
1911
 
1499
1912
  ## `sf agent test resume`
1500
1913
 
@@ -1578,7 +1991,7 @@ FLAG DESCRIPTIONS
1578
1991
  expression when using custom evaluations.
1579
1992
  ```
1580
1993
 
1581
- _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/test/resume.ts)_
1994
+ _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/resume.ts)_
1582
1995
 
1583
1996
  ## `sf agent test run`
1584
1997
 
@@ -1662,7 +2075,7 @@ FLAG DESCRIPTIONS
1662
2075
  expression when using custom evaluations.
1663
2076
  ```
1664
2077
 
1665
- _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/test/run.ts)_
2078
+ _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/run.ts)_
1666
2079
 
1667
2080
  ## `sf agent test run-eval`
1668
2081
 
@@ -1738,7 +2151,7 @@ EXAMPLES
1738
2151
  $ echo '{"tests":[...]}' | sf agent test run-eval --spec --target-org my-org
1739
2152
  ```
1740
2153
 
1741
- _See code: [src/commands/agent/test/run-eval.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/test/run-eval.ts)_
2154
+ _See code: [src/commands/agent/test/run-eval.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/run-eval.ts)_
1742
2155
 
1743
2156
  ## `sf agent trace delete`
1744
2157
 
@@ -1802,7 +2215,7 @@ EXAMPLES
1802
2215
  $ sf agent trace delete --no-prompt
1803
2216
  ```
1804
2217
 
1805
- _See code: [src/commands/agent/trace/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/trace/delete.ts)_
2218
+ _See code: [src/commands/agent/trace/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/trace/delete.ts)_
1806
2219
 
1807
2220
  ## `sf agent trace list`
1808
2221
 
@@ -1872,7 +2285,7 @@ FLAG DESCRIPTIONS
1872
2285
  (2026-04-20T14:00:00.000Z). The "Recorded At" values shown in the table output are valid inputs.
1873
2286
  ```
1874
2287
 
1875
- _See code: [src/commands/agent/trace/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/trace/list.ts)_
2288
+ _See code: [src/commands/agent/trace/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/trace/list.ts)_
1876
2289
 
1877
2290
  ## `sf agent trace read`
1878
2291
 
@@ -1960,7 +2373,7 @@ EXAMPLES
1960
2373
  $ sf agent trace read --session-id <SESSION_ID> --json
1961
2374
  ```
1962
2375
 
1963
- _See code: [src/commands/agent/trace/read.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/trace/read.ts)_
2376
+ _See code: [src/commands/agent/trace/read.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/trace/read.ts)_
1964
2377
 
1965
2378
  ## `sf agent validate authoring-bundle`
1966
2379
 
@@ -2007,6 +2420,6 @@ EXAMPLES
2007
2420
  $ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
2008
2421
  ```
2009
2422
 
2010
- _See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.42.1/src/commands/agent/validate/authoring-bundle.ts)_
2423
+ _See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/validate/authoring-bundle.ts)_
2011
2424
 
2012
2425
  <!-- commandsstop -->