postman-cli-completion 1.87.0 → 1.88.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.
@@ -1,4 +1,4 @@
1
- # Bash completion for Postman CLI (postman v1.87.0)
1
+ # Bash completion for Postman CLI (postman v1.88.0)
2
2
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
3
3
  # Source: spec/commands.json
4
4
  # https://github.com/yokawasa/postman-cli-completion
@@ -22,7 +22,7 @@ _postman() {
22
22
  cur="${COMP_WORDS[COMP_CWORD]}"
23
23
  prev="${COMP_WORDS[COMP_CWORD-1]}"
24
24
 
25
- local top_commands="api collection dataset environment flows fl globals mock monitor request runner sdk spec workspace ws context-graph describe init search skills login logout signup whoami application app dependency feedback performance secret simulation status team update webhook"
25
+ local top_commands="api collection dataset environment flows fl fn globals mock monitor request runner sdk spec workspace ws context-graph describe init search skills login logout signup whoami application app dependency feedback mcp performance secret simulation status team update webhook"
26
26
  local global_flags="--color -h --help --silent -v --version -h --help"
27
27
 
28
28
  local i cmd="" subcmd=""
@@ -51,6 +51,7 @@ _postman() {
51
51
  dataset) _postman_dataset ;;
52
52
  environment) _postman_environment ;;
53
53
  flows|fl) _postman_flows ;;
54
+ fn) _postman_fn ;;
54
55
  globals) _postman_globals ;;
55
56
  mock) _postman_mock ;;
56
57
  monitor) _postman_monitor ;;
@@ -71,6 +72,7 @@ _postman() {
71
72
  application|app) _postman_application ;;
72
73
  dependency) _postman_dependency ;;
73
74
  feedback) _postman_feedback ;;
75
+ mcp) _postman_mcp ;;
74
76
  performance) _postman_performance ;;
75
77
  secret) _postman_secret ;;
76
78
  simulation) _postman_simulation ;;
@@ -335,10 +337,13 @@ _postman_collection_request_get() {
335
337
 
336
338
  _postman_collection_request_update() {
337
339
  if [[ "$cur" == -* ]]; then
338
- COMPREPLY=( $(compgen -W "--collection --folder --rename --url --method --param --clear-params -d --body --variables --description --headers --auth --scripts -w --workspace --type -m --message --json -h --help" -- "$cur") )
340
+ COMPREPLY=( $(compgen -W "--collection --folder --rename --url --command --command-env --method --param --clear-params -d --body --variables --description --headers --auth --scripts -w --workspace --type -m --message --json -h --help" -- "$cur") )
339
341
  return 0
340
342
  fi
341
343
  case "$prev" in
344
+ --command-env)
345
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
346
+ return 0 ;;
342
347
  --param)
343
348
  _postman_filematch '!*.@(pem|crt|key)' "$cur"
344
349
  return 0 ;;
@@ -1122,6 +1127,72 @@ _postman_flows_get_run() {
1122
1127
  esac
1123
1128
  }
1124
1129
 
1130
+ _postman_fn() {
1131
+ if [[ -z "$subcmd" ]]; then
1132
+ if [[ "$cur" == -* ]]; then
1133
+ COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
1134
+ else
1135
+ COMPREPLY=( $(compgen -W "init describe check run" -- "$cur") )
1136
+ fi
1137
+ return 0
1138
+ fi
1139
+ case "$subcmd" in
1140
+ init) _postman_fn_init ;;
1141
+ describe) _postman_fn_describe ;;
1142
+ check) _postman_fn_check ;;
1143
+ run) _postman_fn_run ;;
1144
+ esac
1145
+ }
1146
+
1147
+ _postman_fn_init() {
1148
+ if [[ "$cur" == -* ]]; then
1149
+ COMPREPLY=( $(compgen -W "--json --api-key -h --help" -- "$cur") )
1150
+ return 0
1151
+ fi
1152
+ case "$prev" in
1153
+ --api-key)
1154
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
1155
+ return 0 ;;
1156
+ esac
1157
+ _postman_filematch '!*.@(json)' "$cur"
1158
+ }
1159
+
1160
+ _postman_fn_describe() {
1161
+ if [[ "$cur" == -* ]]; then
1162
+ COMPREPLY=( $(compgen -W "--json --api-key -h --help" -- "$cur") )
1163
+ return 0
1164
+ fi
1165
+ case "$prev" in
1166
+ --api-key)
1167
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
1168
+ return 0 ;;
1169
+ esac
1170
+ }
1171
+
1172
+ _postman_fn_check() {
1173
+ if [[ "$cur" == -* ]]; then
1174
+ COMPREPLY=( $(compgen -W "--json --api-key --timeout -h --help" -- "$cur") )
1175
+ return 0
1176
+ fi
1177
+ case "$prev" in
1178
+ --api-key)
1179
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
1180
+ return 0 ;;
1181
+ esac
1182
+ }
1183
+
1184
+ _postman_fn_run() {
1185
+ if [[ "$cur" == -* ]]; then
1186
+ COMPREPLY=( $(compgen -W "--input --config --json --api-key --timeout --verbose --stream --visualize --out -h --help" -- "$cur") )
1187
+ return 0
1188
+ fi
1189
+ case "$prev" in
1190
+ --api-key)
1191
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
1192
+ return 0 ;;
1193
+ esac
1194
+ }
1195
+
1125
1196
  _postman_globals() {
1126
1197
  if [[ -z "$subcmd" ]]; then
1127
1198
  if [[ "$cur" == -* ]]; then
@@ -2714,6 +2785,281 @@ _postman_feedback() {
2714
2785
  esac
2715
2786
  }
2716
2787
 
2788
+ _postman_mcp() {
2789
+ if [[ -z "$subcmd" ]]; then
2790
+ if [[ "$cur" == -* ]]; then
2791
+ COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
2792
+ else
2793
+ COMPREPLY=( $(compgen -W "inspect tools resources prompts" -- "$cur") )
2794
+ fi
2795
+ return 0
2796
+ fi
2797
+ case "$subcmd" in
2798
+ inspect) _postman_mcp_inspect ;;
2799
+ tools) _postman_mcp_tools ;;
2800
+ resources) _postman_mcp_resources ;;
2801
+ prompts) _postman_mcp_prompts ;;
2802
+ esac
2803
+ }
2804
+
2805
+ _postman_mcp_inspect() {
2806
+ if [[ "$cur" == -* ]]; then
2807
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2808
+ return 0
2809
+ fi
2810
+ case "$prev" in
2811
+ --request)
2812
+ _postman_filematch '!*.@(json)' "$cur"
2813
+ return 0 ;;
2814
+ -H|--header)
2815
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2816
+ return 0 ;;
2817
+ --command-env)
2818
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2819
+ return 0 ;;
2820
+ -e|--environment)
2821
+ _postman_filematch '!*.@(json)' "$cur"
2822
+ return 0 ;;
2823
+ --env-var)
2824
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2825
+ return 0 ;;
2826
+ esac
2827
+ }
2828
+
2829
+ _postman_mcp_tools() {
2830
+ if [[ -z "$subcmd" ]]; then
2831
+ if [[ "$cur" == -* ]]; then
2832
+ COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
2833
+ else
2834
+ COMPREPLY=( $(compgen -W "list call" -- "$cur") )
2835
+ fi
2836
+ return 0
2837
+ fi
2838
+ case "$subcmd" in
2839
+ list) _postman_mcp_tools_list ;;
2840
+ call) _postman_mcp_tools_call ;;
2841
+ esac
2842
+ }
2843
+
2844
+ _postman_mcp_tools_list() {
2845
+ if [[ "$cur" == -* ]]; then
2846
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2847
+ return 0
2848
+ fi
2849
+ case "$prev" in
2850
+ --request)
2851
+ _postman_filematch '!*.@(json)' "$cur"
2852
+ return 0 ;;
2853
+ -H|--header)
2854
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2855
+ return 0 ;;
2856
+ --command-env)
2857
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2858
+ return 0 ;;
2859
+ -e|--environment)
2860
+ _postman_filematch '!*.@(json)' "$cur"
2861
+ return 0 ;;
2862
+ --env-var)
2863
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2864
+ return 0 ;;
2865
+ esac
2866
+ }
2867
+
2868
+ _postman_mcp_tools_call() {
2869
+ if [[ "$cur" == -* ]]; then
2870
+ COMPREPLY=( $(compgen -W "--args --arg --json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2871
+ return 0
2872
+ fi
2873
+ case "$prev" in
2874
+ --arg)
2875
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2876
+ return 0 ;;
2877
+ --request)
2878
+ _postman_filematch '!*.@(json)' "$cur"
2879
+ return 0 ;;
2880
+ -H|--header)
2881
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2882
+ return 0 ;;
2883
+ --command-env)
2884
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2885
+ return 0 ;;
2886
+ -e|--environment)
2887
+ _postman_filematch '!*.@(json)' "$cur"
2888
+ return 0 ;;
2889
+ --env-var)
2890
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2891
+ return 0 ;;
2892
+ esac
2893
+ }
2894
+
2895
+ _postman_mcp_resources() {
2896
+ if [[ -z "$subcmd" ]]; then
2897
+ if [[ "$cur" == -* ]]; then
2898
+ COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
2899
+ else
2900
+ COMPREPLY=( $(compgen -W "list templates read" -- "$cur") )
2901
+ fi
2902
+ return 0
2903
+ fi
2904
+ case "$subcmd" in
2905
+ list) _postman_mcp_resources_list ;;
2906
+ templates) _postman_mcp_resources_templates ;;
2907
+ read) _postman_mcp_resources_read ;;
2908
+ esac
2909
+ }
2910
+
2911
+ _postman_mcp_resources_list() {
2912
+ if [[ "$cur" == -* ]]; then
2913
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2914
+ return 0
2915
+ fi
2916
+ case "$prev" in
2917
+ --request)
2918
+ _postman_filematch '!*.@(json)' "$cur"
2919
+ return 0 ;;
2920
+ -H|--header)
2921
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2922
+ return 0 ;;
2923
+ --command-env)
2924
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2925
+ return 0 ;;
2926
+ -e|--environment)
2927
+ _postman_filematch '!*.@(json)' "$cur"
2928
+ return 0 ;;
2929
+ --env-var)
2930
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2931
+ return 0 ;;
2932
+ esac
2933
+ }
2934
+
2935
+ _postman_mcp_resources_templates() {
2936
+ if [[ -z "$subcmd" ]]; then
2937
+ if [[ "$cur" == -* ]]; then
2938
+ COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
2939
+ else
2940
+ COMPREPLY=( $(compgen -W "list" -- "$cur") )
2941
+ fi
2942
+ return 0
2943
+ fi
2944
+ case "$subcmd" in
2945
+ list) _postman_mcp_resources_templates_list ;;
2946
+ esac
2947
+ }
2948
+
2949
+ _postman_mcp_resources_templates_list() {
2950
+ if [[ "$cur" == -* ]]; then
2951
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2952
+ return 0
2953
+ fi
2954
+ case "$prev" in
2955
+ --request)
2956
+ _postman_filematch '!*.@(json)' "$cur"
2957
+ return 0 ;;
2958
+ -H|--header)
2959
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2960
+ return 0 ;;
2961
+ --command-env)
2962
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2963
+ return 0 ;;
2964
+ -e|--environment)
2965
+ _postman_filematch '!*.@(json)' "$cur"
2966
+ return 0 ;;
2967
+ --env-var)
2968
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2969
+ return 0 ;;
2970
+ esac
2971
+ }
2972
+
2973
+ _postman_mcp_resources_read() {
2974
+ if [[ "$cur" == -* ]]; then
2975
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2976
+ return 0
2977
+ fi
2978
+ case "$prev" in
2979
+ --request)
2980
+ _postman_filematch '!*.@(json)' "$cur"
2981
+ return 0 ;;
2982
+ -H|--header)
2983
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2984
+ return 0 ;;
2985
+ --command-env)
2986
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2987
+ return 0 ;;
2988
+ -e|--environment)
2989
+ _postman_filematch '!*.@(json)' "$cur"
2990
+ return 0 ;;
2991
+ --env-var)
2992
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2993
+ return 0 ;;
2994
+ esac
2995
+ }
2996
+
2997
+ _postman_mcp_prompts() {
2998
+ if [[ -z "$subcmd" ]]; then
2999
+ if [[ "$cur" == -* ]]; then
3000
+ COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
3001
+ else
3002
+ COMPREPLY=( $(compgen -W "list get" -- "$cur") )
3003
+ fi
3004
+ return 0
3005
+ fi
3006
+ case "$subcmd" in
3007
+ list) _postman_mcp_prompts_list ;;
3008
+ get) _postman_mcp_prompts_get ;;
3009
+ esac
3010
+ }
3011
+
3012
+ _postman_mcp_prompts_list() {
3013
+ if [[ "$cur" == -* ]]; then
3014
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
3015
+ return 0
3016
+ fi
3017
+ case "$prev" in
3018
+ --request)
3019
+ _postman_filematch '!*.@(json)' "$cur"
3020
+ return 0 ;;
3021
+ -H|--header)
3022
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3023
+ return 0 ;;
3024
+ --command-env)
3025
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3026
+ return 0 ;;
3027
+ -e|--environment)
3028
+ _postman_filematch '!*.@(json)' "$cur"
3029
+ return 0 ;;
3030
+ --env-var)
3031
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3032
+ return 0 ;;
3033
+ esac
3034
+ }
3035
+
3036
+ _postman_mcp_prompts_get() {
3037
+ if [[ "$cur" == -* ]]; then
3038
+ COMPREPLY=( $(compgen -W "--args --arg --json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
3039
+ return 0
3040
+ fi
3041
+ case "$prev" in
3042
+ --arg)
3043
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3044
+ return 0 ;;
3045
+ --request)
3046
+ _postman_filematch '!*.@(json)' "$cur"
3047
+ return 0 ;;
3048
+ -H|--header)
3049
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3050
+ return 0 ;;
3051
+ --command-env)
3052
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3053
+ return 0 ;;
3054
+ -e|--environment)
3055
+ _postman_filematch '!*.@(json)' "$cur"
3056
+ return 0 ;;
3057
+ --env-var)
3058
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3059
+ return 0 ;;
3060
+ esac
3061
+ }
3062
+
2717
3063
  _postman_performance() {
2718
3064
  if [[ -z "$subcmd" ]]; then
2719
3065
  if [[ "$cur" == -* ]]; then
@@ -3012,9 +3358,11 @@ _postman_team_list() {
3012
3358
 
3013
3359
  _postman_update() {
3014
3360
  if [[ "$cur" == -* ]]; then
3015
- COMPREPLY=( $(compgen -W "--check -h --help" -- "$cur") )
3361
+ COMPREPLY=( $(compgen -W "--check --timeout -h --help" -- "$cur") )
3016
3362
  return 0
3017
3363
  fi
3364
+ case "$prev" in
3365
+ esac
3018
3366
  }
3019
3367
 
3020
3368
  _postman_webhook() {
@@ -1,10 +1,10 @@
1
- # Fish completion for Postman CLI (postman v1.87.0)
1
+ # Fish completion for Postman CLI (postman v1.88.0)
2
2
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
3
3
  # Source: spec/commands.json
4
4
  # https://github.com/yokawasa/postman-cli-completion
5
5
 
6
6
  function __postman_no_subcommand
7
- not __fish_seen_subcommand_from api collection dataset environment flows fl globals mock monitor request runner sdk spec workspace ws context-graph describe init search skills login logout signup whoami application app dependency feedback performance secret simulation status team update webhook
7
+ not __fish_seen_subcommand_from api collection dataset environment flows fl fn globals mock monitor request runner sdk spec workspace ws context-graph describe init search skills login logout signup whoami application app dependency feedback mcp performance secret simulation status team update webhook
8
8
  end
9
9
 
10
10
  function __postman_using_subcommand
@@ -27,6 +27,7 @@ complete -c postman -n __postman_no_subcommand -a dataset -d 'Work with Postman
27
27
  complete -c postman -n __postman_no_subcommand -a environment -d 'Work with local and cloud Postman environments'
28
28
  complete -c postman -n __postman_no_subcommand -a flows -d 'Manage and interact with flows'
29
29
  complete -c postman -n __postman_no_subcommand -a fl -d 'Alias for flows'
30
+ complete -c postman -n __postman_no_subcommand -a fn -d 'Build code-based workflows'
30
31
  complete -c postman -n __postman_no_subcommand -a globals -d 'Work with local and cloud Postman globals'
31
32
  complete -c postman -n __postman_no_subcommand -a mock -d 'Create, run, and manage Postman mocks'
32
33
  complete -c postman -n __postman_no_subcommand -a monitor -d 'Run and manage Postman monitors'
@@ -49,6 +50,7 @@ complete -c postman -n __postman_no_subcommand -a application -d 'Application-le
49
50
  complete -c postman -n __postman_no_subcommand -a app -d 'Alias for application'
50
51
  complete -c postman -n __postman_no_subcommand -a dependency -d 'Manage workspace dependencies reused from other workspaces'
51
52
  complete -c postman -n __postman_no_subcommand -a feedback -d 'Submit feedback about CLI usability, gaps, and improvements'
53
+ complete -c postman -n __postman_no_subcommand -a mcp -d 'Explore MCP servers: inspect them, list and call tools, read resources, and get prompts'
52
54
  complete -c postman -n __postman_no_subcommand -a performance -d 'Manage performance tests on your collections'
53
55
  complete -c postman -n __postman_no_subcommand -a secret -d 'Create and manage Postman secrets in a team\'s shared vault'
54
56
  complete -c postman -n __postman_no_subcommand -a simulation -d 'Create, run and manage simulations'
@@ -172,7 +174,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
172
174
  # ---------- collection request add ----------
173
175
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l collection -d 'Target collection: name, directory, id, cloud id, or path. Required.' -x
174
176
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l folder -d 'Folder within the collection, e.g. "Users/Admin". Defaults to the root.' -x
175
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l type -d 'Request type: http, graphql, grpc, websocket, socketio. (default: "http")' -x
177
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l type -d 'Request type: http, graphql, grpc, websocket, socketio, mcp. (default: "http")' -x
176
178
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
177
179
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
178
180
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l json -d 'JSON output.'
@@ -187,7 +189,9 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
187
189
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l collection -d 'Target collection: name, directory, id, cloud id, or path (cloud: id only). Required.' -x
188
190
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l folder -d 'Folder to scope the request selector, e.g. "Users/Admin" (local: name/path; cloud: id).' -x
189
191
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l rename -d 'Rename the request (moves its file). Any request type.' -x
190
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l url -d 'Request URL; its query string becomes the query parameters. Any request type.' -x
192
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l url -d 'Request URL; its query string becomes the query parameters. Any request type; moves an mcp request to the HTTP transport.' -x
193
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l command -d 'Command that starts a local MCP server; moves an mcp request to the stdio transport (mcp requests only, local mode).' -x
194
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l command-env -d 'Replace the environment variables of a stdio mcp request\'s server. Repeatable (local mode). (default: [])' -r
191
195
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l method -d 'HTTP method (http requests only).' -x
192
196
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l param -d 'Replace all query parameters and the url query string. Repeatable (http requests only). (default: [])' -r
193
197
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l clear-params -d 'Remove all query parameters and the url query string (http requests only).'
@@ -196,9 +200,9 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
196
200
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l description -d 'Request description.' -x
197
201
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l headers -d 'Replace request headers. Repeatable; any request type with headers. (default: [])' -r
198
202
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l auth -d 'Request auth: none, inherit, bearer:TOKEN, basic:USER:PASS, apikey:KEY:VALUE[:header|query], oauth2:TOKEN. Any request type.' -x
199
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l scripts -d 'Replace scripts. event is prerequest or test; script is @file, - for stdin, or inline. Repeatable; any request type. (default: [])' -x
203
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l scripts -d 'Replace scripts. event is prerequest or test, or on an mcp request beforeConnect, afterConnect, afterResponse or afterDisconnect; script is @file, - for stdin, or inline. Repeatable; any request type. (default: [])' -x
200
204
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
201
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l type -d 'Request type for cloud mode: http, graphql, grpc, websocket, socketio. (default: "http")' -x
205
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l type -d 'Request type for cloud mode: http, graphql, grpc, websocket, socketio, mcp. (default: "http")' -x
202
206
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
203
207
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l json -d 'JSON output.'
204
208
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
@@ -206,7 +210,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
206
210
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l collection -d 'Target collection: name, directory, id, cloud id, or path (cloud: id only). Required.' -x
207
211
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l folder -d 'Folder to scope the request selector, e.g. "Users/Admin" (local: name/path; cloud: id).' -x
208
212
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
209
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l type -d 'Request type for cloud mode: http, graphql, grpc, websocket, socketio. (default: "http")' -x
213
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l type -d 'Request type for cloud mode: http, graphql, grpc, websocket, socketio, mcp. (default: "http")' -x
210
214
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
211
215
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l json -d 'JSON output.'
212
216
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -s h -l help -d 'display help for command'
@@ -749,6 +753,38 @@ complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subco
749
753
  complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from get-run' -l json -d 'JSON output'
750
754
  complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from get-run' -s h -l help -d 'display help for command'
751
755
 
756
+ # ---------- fn ----------
757
+ complete -c postman -n '__postman_using_subcommand fn init describe check run' -a init -d 'Create a starter workflow in the current or chosen directory (requires Postman login)'
758
+ complete -c postman -n '__postman_using_subcommand fn init describe check run' -a describe -d 'Describe workflow primitives and blocks (requires Postman login)'
759
+ complete -c postman -n '__postman_using_subcommand fn init describe check run' -a check -d 'Validate a workflow definition without running its steps (requires Postman login)'
760
+ complete -c postman -n '__postman_using_subcommand fn init describe check run' -a run -d 'Run a workflow using Postman login for AI and evals'
761
+ complete -c postman -n '__fish_seen_subcommand_from fn' -s h -l help -d 'display help for command'
762
+ # ---------- fn init ----------
763
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from init' -l json -d 'Output JSON (default when stdout is piped)'
764
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from init' -l api-key -d 'Postman API key (otherwise use postman login or POSTMAN_API_KEY)' -r
765
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from init' -s h -l help -d 'display help for command'
766
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from init' -r -k -a '(__fish_complete_suffix .json)'
767
+ # ---------- fn describe ----------
768
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from describe' -l json -d 'Output JSON (default when stdout is piped)'
769
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from describe' -l api-key -d 'Postman API key (otherwise use postman login or POSTMAN_API_KEY)' -r
770
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from describe' -s h -l help -d 'display help for command'
771
+ # ---------- fn check ----------
772
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from check' -l json -d 'Output JSON (default when stdout is piped)'
773
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from check' -l api-key -d 'Postman API key (otherwise use postman login or POSTMAN_API_KEY)' -r
774
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from check' -l timeout -d 'Maximum time to load and validate the workflow (default: "30000")' -x
775
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from check' -s h -l help -d 'display help for command'
776
+ # ---------- fn run ----------
777
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from run' -l input -d 'JSON array of workflow inputs' -x
778
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from run' -l config -d 'Workflow configuration JSON file' -x
779
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from run' -l json -d 'Output JSON (default when stdout is piped)'
780
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key (otherwise use postman login or POSTMAN_API_KEY)' -r
781
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from run' -l timeout -d 'Maximum time to load and run the workflow (default: "300000")' -x
782
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from run' -l verbose -d 'Show workflow logs and step details without changing the workflow log level'
783
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from run' -l stream -d 'Stream JSON events and workflow logs followed by a summary'
784
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from run' -l visualize -d 'Write an HTML visualization of the execution'
785
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from run' -l out -d 'New visualization file path (requires --visualize)' -x
786
+ complete -c postman -n '__fish_seen_subcommand_from fn; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
787
+
752
788
  # ---------- globals ----------
753
789
  complete -c postman -n '__postman_using_subcommand globals get var lint' -a get -d 'Read local workspace globals from the default file, or cloud globals with --workspace.'
754
790
  complete -c postman -n '__postman_using_subcommand globals get var lint' -a var -d 'Read and update variables in the workspace globals singleton.'
@@ -811,17 +847,17 @@ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcom
811
847
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l mode -d 'How the mock behaves: static (replays examples, the default), stateful (keeps records: create, read, list, update, delete), or ai (stateful, plus realistic data and business rules; generated by Postman, needs `postman login`).' -x
812
848
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l stateful -d 'Same as --mode stateful. Generated offline for a local file, by Postman with --workspace, --spec, --collection or --dataset (validated, with seed data). Endpoints that are not CRUD-shaped stay static.'
813
849
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l instructions -d 'With --mode ai: guidance for the AI, up to 2000 characters, e.g. "Orders can only be cancelled before they ship". Recorded with the mock, so --update reuses them.' -x
814
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l strict -d 'With --mode ai: fail instead of falling back. Postman refuses a mock it would build without AI (exit 1, nothing written or saved). A mock whose AI rules reached only some operations, or one an older Postman built without AI anyway, is kept but exits 4.'
850
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l strict -d 'With --mode ai: fail instead of falling back. Postman refuses a mock it would build without AI (exit 1, nothing written or saved). A mock whose AI rules reached only some operations, or one an older Postman built without AI anyway, is kept but exits 4. A cloud mock is saved before AI runs, so when AI fails it keeps its contract-derived version (exit 1).'
815
851
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l spec -d 'Generate from a spec in Postman (by id) instead of a local file. With --workspace, the mock stays linked to it and is regenerated when it changes.' -x
816
852
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l collection -d 'Generate from a collection in Postman (by id) instead of a local file. With --workspace, the mock stays linked to it and is regenerated when it changes.' -r
817
853
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l dataset -d 'Generate from a dataset: its tables become resources and their first 20 rows the records. A dataset in Postman (by id) or a local .dataset.yaml (CSV and JSON sources). Generated by Postman in stateful (the default) or ai mode; AI sees the column names and types, never the rows.' -x
818
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l force -d 'Replace the mock\'s files if the target folder already holds a mock. A folder with other files and no mock is never written to.'
854
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l force -d 'Replace the mock\'s files if the target folder already holds a mock. A folder with other files and no mock is never written to. With --update, regenerate a handler that was edited by hand.'
819
855
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s u -l update -d 'Regenerate an existing mock in place: one in your repository by path (e.g. ./postman/mocks/orders), or one in Postman cloud by id. Without a source or --mode, it uses the ones the mock recorded (and an ai mock\'s instructions). Cannot be used with --output.' -r
820
856
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s w -l workspace -d 'Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update <mockPath>; with --deploy it only picks the workspace, and with --update <cloudMockId> it names the workspace the mock is in.' -x
821
857
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l deploy -d 'After generating, upload the mock to Postman cloud and deploy it to a live mock server (private by default). Uses --workspace, else the workspace linked to this project.'
822
858
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l public -d 'With --deploy, let anyone with the link reach the server (default: callers need an API key). Requires --deploy.'
823
859
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s s -l slug -d 'With --deploy, the short label used in the server\'s web address. Requires --deploy.' -x
824
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l timeout -d 'How long to wait for Postman to generate the mock, in milliseconds (default 75000).' -x
860
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l timeout -d 'How long to wait for Postman to answer the generate request, in milliseconds (default 75000). With --mode ai, the AI step that follows is waited for up to 10 minutes.' -x
825
861
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l api-key -d 'Postman API key for anything Postman generates, saves or deploys (defaults to your `postman login` session)' -r
826
862
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l json -d 'Print the result as machine-readable data instead of a summary: the generated mock, or with --deploy the live server details'
827
863
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s x -l suppress-exit-code -d 'Always exit with code 0, even on failure'
@@ -1685,6 +1721,161 @@ complete -c postman -n '__fish_seen_subcommand_from feedback' -l context -d 'Com
1685
1721
  complete -c postman -n '__fish_seen_subcommand_from feedback' -l json -d 'Print result as machine-readable JSON'
1686
1722
  complete -c postman -n '__fish_seen_subcommand_from feedback' -s h -l help -d 'display help for command'
1687
1723
 
1724
+ # ---------- mcp ----------
1725
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a inspect -d 'Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates and prompts (initialize, then every */list)'
1726
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a tools -d 'List and call the tools an MCP server offers'
1727
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a resources -d 'List and read the resources an MCP server offers'
1728
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a prompts -d 'List and get the prompts an MCP server offers'
1729
+ complete -c postman -n '__fish_seen_subcommand_from mcp' -s h -l help -d 'display help for command'
1730
+ # ---------- mcp inspect ----------
1731
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l json -d 'Print the report as JSON'
1732
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l debug -d 'Print each @postman/runtime event, and the MCP client\'s debug messages, to stderr'
1733
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l request -d 'Reuse a saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1734
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l url -d 'Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)' -x
1735
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -s H -l header -d 'Add an HTTP header in key:value format. Repeatable. (default: [])' -r
1736
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l transport -d 'Check the transport the target uses (choices: "http", "stdio")' -x
1737
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l command -d 'Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --' -x
1738
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l command-env -d 'Set an environment variable for the --command server. Repeatable. (default: [])' -r
1739
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l allow-stdio -d 'Allow starting a local process for a stdio server'
1740
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -s k -l insecure -d 'Disable TLS certificate verification for HTTP servers'
1741
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l timeout-request -d 'Time limit for each MCP operation in ms (default: 60000, 0 for none)' -x
1742
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1743
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1744
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1745
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -s h -l help -d 'display help for command'
1746
+ # ---------- mcp tools ----------
1747
+ complete -c postman -n '__postman_using_subcommand tools list call' -a list -d 'List the tools an MCP server offers (tools/list)'
1748
+ complete -c postman -n '__postman_using_subcommand tools list call' -a call -d 'Call one tool and print its result (tools/call)'
1749
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools' -s h -l help -d 'display help for command'
1750
+ # ---------- mcp tools list ----------
1751
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l json -d 'Print { tools } as JSON'
1752
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l debug -d 'Print each @postman/runtime event, and the MCP client\'s debug messages, to stderr'
1753
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l request -d 'Reuse a saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1754
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l url -d 'Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)' -x
1755
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -s H -l header -d 'Add an HTTP header in key:value format. Repeatable. (default: [])' -r
1756
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l transport -d 'Check the transport the target uses (choices: "http", "stdio")' -x
1757
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l command -d 'Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --' -x
1758
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l command-env -d 'Set an environment variable for the --command server. Repeatable. (default: [])' -r
1759
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l allow-stdio -d 'Allow starting a local process for a stdio server'
1760
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -s k -l insecure -d 'Disable TLS certificate verification for HTTP servers'
1761
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l timeout-request -d 'Time limit for each MCP operation in ms (default: 60000, 0 for none)' -x
1762
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1763
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1764
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1765
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1766
+ # ---------- mcp tools call ----------
1767
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l args -d 'Tool arguments as a JSON object, @path to a JSON file, or - for stdin. Defaults to the --request message\'s saved arguments for the same tool' -x
1768
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l arg -d 'One tool argument, typed by the tool\'s inputSchema (a number, boolean, JSON object or array, or a string). Repeatable; a repeated key keeps the last value. Not with --args (default: [])' -r
1769
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l json -d 'Print the CallToolResult as JSON'
1770
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l debug -d 'Print each @postman/runtime event, and the MCP client\'s debug messages, to stderr'
1771
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l request -d 'Reuse a saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1772
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l url -d 'Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)' -x
1773
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -s H -l header -d 'Add an HTTP header in key:value format. Repeatable. (default: [])' -r
1774
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l transport -d 'Check the transport the target uses (choices: "http", "stdio")' -x
1775
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l command -d 'Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --' -x
1776
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l command-env -d 'Set an environment variable for the --command server. Repeatable. (default: [])' -r
1777
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l allow-stdio -d 'Allow starting a local process for a stdio server'
1778
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -s k -l insecure -d 'Disable TLS certificate verification for HTTP servers'
1779
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l timeout-request -d 'Time limit for each MCP operation in ms (default: 60000, 0 for none)' -x
1780
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1781
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1782
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1783
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -s h -l help -d 'display help for command'
1784
+ # ---------- mcp resources ----------
1785
+ complete -c postman -n '__postman_using_subcommand resources list templates read' -a list -d 'List the resources an MCP server offers (resources/list)'
1786
+ complete -c postman -n '__postman_using_subcommand resources list templates read' -a templates -d 'List the resource templates an MCP server offers'
1787
+ complete -c postman -n '__postman_using_subcommand resources list templates read' -a read -d 'Read one resource and print its contents (resources/read)'
1788
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources' -s h -l help -d 'display help for command'
1789
+ # ---------- mcp resources list ----------
1790
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l json -d 'Print { resources } as JSON'
1791
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l debug -d 'Print each @postman/runtime event, and the MCP client\'s debug messages, to stderr'
1792
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l request -d 'Reuse a saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1793
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l url -d 'Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)' -x
1794
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -s H -l header -d 'Add an HTTP header in key:value format. Repeatable. (default: [])' -r
1795
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l transport -d 'Check the transport the target uses (choices: "http", "stdio")' -x
1796
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l command -d 'Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --' -x
1797
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l command-env -d 'Set an environment variable for the --command server. Repeatable. (default: [])' -r
1798
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l allow-stdio -d 'Allow starting a local process for a stdio server'
1799
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -s k -l insecure -d 'Disable TLS certificate verification for HTTP servers'
1800
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l timeout-request -d 'Time limit for each MCP operation in ms (default: 60000, 0 for none)' -x
1801
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1802
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1803
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1804
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1805
+ # ---------- mcp resources templates ----------
1806
+ complete -c postman -n '__postman_using_subcommand templates list' -a list -d 'List the resource templates an MCP server offers (resources/templates/list)'
1807
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates' -s h -l help -d 'display help for command'
1808
+ # ---------- mcp resources templates list ----------
1809
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l json -d 'Print { resourceTemplates } as JSON'
1810
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l debug -d 'Print each @postman/runtime event, and the MCP client\'s debug messages, to stderr'
1811
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l request -d 'Reuse a saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1812
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l url -d 'Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)' -x
1813
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -s H -l header -d 'Add an HTTP header in key:value format. Repeatable. (default: [])' -r
1814
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l transport -d 'Check the transport the target uses (choices: "http", "stdio")' -x
1815
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l command -d 'Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --' -x
1816
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l command-env -d 'Set an environment variable for the --command server. Repeatable. (default: [])' -r
1817
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l allow-stdio -d 'Allow starting a local process for a stdio server'
1818
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -s k -l insecure -d 'Disable TLS certificate verification for HTTP servers'
1819
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l timeout-request -d 'Time limit for each MCP operation in ms (default: 60000, 0 for none)' -x
1820
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1821
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1822
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1823
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1824
+ # ---------- mcp resources read ----------
1825
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l json -d 'Print the ReadResourceResult as JSON (blob contents stay base64)'
1826
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l debug -d 'Print each @postman/runtime event, and the MCP client\'s debug messages, to stderr'
1827
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l request -d 'Reuse a saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1828
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l url -d 'Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)' -x
1829
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -s H -l header -d 'Add an HTTP header in key:value format. Repeatable. (default: [])' -r
1830
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l transport -d 'Check the transport the target uses (choices: "http", "stdio")' -x
1831
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l command -d 'Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --' -x
1832
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l command-env -d 'Set an environment variable for the --command server. Repeatable. (default: [])' -r
1833
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l allow-stdio -d 'Allow starting a local process for a stdio server'
1834
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -s k -l insecure -d 'Disable TLS certificate verification for HTTP servers'
1835
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l timeout-request -d 'Time limit for each MCP operation in ms (default: 60000, 0 for none)' -x
1836
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1837
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1838
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1839
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -s h -l help -d 'display help for command'
1840
+ # ---------- mcp prompts ----------
1841
+ complete -c postman -n '__postman_using_subcommand prompts list get' -a list -d 'List the prompts an MCP server offers (prompts/list)'
1842
+ complete -c postman -n '__postman_using_subcommand prompts list get' -a get -d 'Get one prompt with its arguments filled in (prompts/get)'
1843
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts' -s h -l help -d 'display help for command'
1844
+ # ---------- mcp prompts list ----------
1845
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l json -d 'Print { prompts } as JSON'
1846
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l debug -d 'Print each @postman/runtime event, and the MCP client\'s debug messages, to stderr'
1847
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l request -d 'Reuse a saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1848
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l url -d 'Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)' -x
1849
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -s H -l header -d 'Add an HTTP header in key:value format. Repeatable. (default: [])' -r
1850
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l transport -d 'Check the transport the target uses (choices: "http", "stdio")' -x
1851
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l command -d 'Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --' -x
1852
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l command-env -d 'Set an environment variable for the --command server. Repeatable. (default: [])' -r
1853
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l allow-stdio -d 'Allow starting a local process for a stdio server'
1854
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -s k -l insecure -d 'Disable TLS certificate verification for HTTP servers'
1855
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l timeout-request -d 'Time limit for each MCP operation in ms (default: 60000, 0 for none)' -x
1856
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1857
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1858
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1859
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1860
+ # ---------- mcp prompts get ----------
1861
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l args -d 'Prompt arguments as a JSON object of strings, @path, or - for stdin' -x
1862
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l arg -d 'One prompt argument, always sent as a string. Repeatable; a repeated key keeps the last value. Not with --args (default: [])' -r
1863
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l json -d 'Print the GetPromptResult as JSON'
1864
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l debug -d 'Print each @postman/runtime event, and the MCP client\'s debug messages, to stderr'
1865
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l request -d 'Reuse a saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1866
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l url -d 'Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)' -x
1867
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -s H -l header -d 'Add an HTTP header in key:value format. Repeatable. (default: [])' -r
1868
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l transport -d 'Check the transport the target uses (choices: "http", "stdio")' -x
1869
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l command -d 'Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --' -x
1870
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l command-env -d 'Set an environment variable for the --command server. Repeatable. (default: [])' -r
1871
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l allow-stdio -d 'Allow starting a local process for a stdio server'
1872
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -s k -l insecure -d 'Disable TLS certificate verification for HTTP servers'
1873
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l timeout-request -d 'Time limit for each MCP operation in ms (default: 60000, 0 for none)' -x
1874
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1875
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1876
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1877
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
1878
+
1688
1879
  # ---------- performance ----------
1689
1880
  complete -c postman -n '__postman_using_subcommand performance run list get' -a run -d 'Run a performance test on a collection (cloud collection UID or local collection path)'
1690
1881
  complete -c postman -n '__postman_using_subcommand performance run list get' -a list -d 'List past performance runs for a collection, newest first.'
@@ -1869,6 +2060,7 @@ complete -c postman -n '__fish_seen_subcommand_from team; and __fish_seen_subcom
1869
2060
 
1870
2061
  # ---------- update ----------
1871
2062
  complete -c postman -n '__fish_seen_subcommand_from update' -l check -d 'Check whether a Postman CLI update is available.'
2063
+ complete -c postman -n '__fish_seen_subcommand_from update' -l timeout -d 'Timeout for the update check in milliseconds (default: 30000).' -x
1872
2064
  complete -c postman -n '__fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
1873
2065
 
1874
2066
  # ---------- webhook ----------
@@ -1,6 +1,6 @@
1
1
  #compdef postman
2
2
  compdef _postman postman
3
- # Zsh completion for Postman CLI (postman v1.87.0)
3
+ # Zsh completion for Postman CLI (postman v1.88.0)
4
4
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
5
5
  # Source: spec/commands.json
6
6
  # https://github.com/yokawasa/postman-cli-completion
@@ -25,6 +25,7 @@ _postman() {
25
25
  dataset) _postman_dataset ;;
26
26
  environment) _postman_environment ;;
27
27
  flows|fl) _postman_flows ;;
28
+ fn) _postman_fn ;;
28
29
  globals) _postman_globals ;;
29
30
  mock) _postman_mock ;;
30
31
  monitor) _postman_monitor ;;
@@ -45,6 +46,7 @@ _postman() {
45
46
  application|app) _postman_application ;;
46
47
  dependency) _postman_dependency ;;
47
48
  feedback) _postman_feedback ;;
49
+ mcp) _postman_mcp ;;
48
50
  performance) _postman_performance ;;
49
51
  secret) _postman_secret ;;
50
52
  simulation) _postman_simulation ;;
@@ -66,6 +68,7 @@ _postman_commands() {
66
68
  'environment:Work with local and cloud Postman environments'
67
69
  'flows:Manage and interact with flows'
68
70
  'fl:Alias for flows'
71
+ 'fn:Build code-based workflows'
69
72
  'globals:Work with local and cloud Postman globals'
70
73
  'mock:Create, run, and manage Postman mocks'
71
74
  'monitor:Run and manage Postman monitors'
@@ -88,6 +91,7 @@ _postman_commands() {
88
91
  'app:Alias for application'
89
92
  'dependency:Manage workspace dependencies reused from other workspaces'
90
93
  'feedback:Submit feedback about CLI usability, gaps, and improvements'
94
+ 'mcp:Explore MCP servers\: inspect them, list and call tools, read resources, and get prompts'
91
95
  'performance:Manage performance tests on your collections'
92
96
  'secret:Create and manage Postman secrets in a team'\''s shared vault'
93
97
  'simulation:Create, run and manage simulations'
@@ -379,7 +383,7 @@ _postman_collection_request_add() {
379
383
  _arguments \
380
384
  '--collection[Target collection\: name, directory, id, cloud id, or path. Required.]:id|name' \
381
385
  '--folder[Folder within the collection, e.g. "Users/Admin". Defaults to the root.]:id|name|path' \
382
- '--type[Request type\: http, graphql, grpc, websocket, socketio. (default\: "http")]:type' \
386
+ '--type[Request type\: http, graphql, grpc, websocket, socketio, mcp. (default\: "http")]:type' \
383
387
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
384
388
  '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
385
389
  '--json[JSON output.]' \
@@ -402,7 +406,9 @@ _postman_collection_request_update() {
402
406
  '--collection[Target collection\: name, directory, id, cloud id, or path (cloud\: id only). Required.]:id|name' \
403
407
  '--folder[Folder to scope the request selector, e.g. "Users/Admin" (local\: name/path; cloud\: id).]:id|name|path' \
404
408
  '--rename[Rename the request (moves its file). Any request type.]:name' \
405
- '--url[Request URL; its query string becomes the query parameters. Any request type.]:url' \
409
+ '--url[Request URL; its query string becomes the query parameters. Any request type; moves an mcp request to the HTTP transport.]:url' \
410
+ '--command[Command that starts a local MCP server; moves an mcp request to the stdio transport (mcp requests only, local mode).]:command' \
411
+ '--command-env[Replace the environment variables of a stdio mcp request'\''s server. Repeatable (local mode). (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
406
412
  '--method[HTTP method (http requests only).]:method' \
407
413
  '--param[Replace all query parameters and the url query string. Repeatable (http requests only). (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
408
414
  '--clear-params[Remove all query parameters and the url query string (http requests only).]' \
@@ -411,9 +417,9 @@ _postman_collection_request_update() {
411
417
  '--description[Request description.]:text' \
412
418
  '--headers[Replace request headers. Repeatable; any request type with headers. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
413
419
  '--auth[Request auth\: none, inherit, bearer\:TOKEN, basic\:USER\:PASS, apikey\:KEY\:VALUE\[\:header|query\], oauth2\:TOKEN. Any request type.]:spec' \
414
- '--scripts[Replace scripts. event is prerequest or test; script is @file, - for stdin, or inline. Repeatable; any request type. (default\: \[\])]:event\:script' \
420
+ '--scripts[Replace scripts. event is prerequest or test, or on an mcp request beforeConnect, afterConnect, afterResponse or afterDisconnect; script is @file, - for stdin, or inline. Repeatable; any request type. (default\: \[\])]:event\:script' \
415
421
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
416
- '--type[Request type for cloud mode\: http, graphql, grpc, websocket, socketio. (default\: "http")]:type' \
422
+ '--type[Request type for cloud mode\: http, graphql, grpc, websocket, socketio, mcp. (default\: "http")]:type' \
417
423
  '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
418
424
  '--json[JSON output.]' \
419
425
  '(-h --help)'{-h,--help}'[display help for command]' \
@@ -425,7 +431,7 @@ _postman_collection_request_rm() {
425
431
  '--collection[Target collection\: name, directory, id, cloud id, or path (cloud\: id only). Required.]:id|name' \
426
432
  '--folder[Folder to scope the request selector, e.g. "Users/Admin" (local\: name/path; cloud\: id).]:id|name|path' \
427
433
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
428
- '--type[Request type for cloud mode\: http, graphql, grpc, websocket, socketio. (default\: "http")]:type' \
434
+ '--type[Request type for cloud mode\: http, graphql, grpc, websocket, socketio, mcp. (default\: "http")]:type' \
429
435
  '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
430
436
  '--json[JSON output.]' \
431
437
  '(-h --help)'{-h,--help}'[display help for command]' \
@@ -1358,6 +1364,76 @@ _postman_flows_get_run() {
1358
1364
  '(-h --help)'{-h,--help}'[display help for command]'
1359
1365
  }
1360
1366
 
1367
+ _postman_fn() {
1368
+ local context state state_descr line
1369
+ typeset -A opt_args
1370
+ _arguments -C \
1371
+ '(-h --help)'{-h,--help}'[display help for command]' \
1372
+ '1: :_postman_fn_commands' \
1373
+ '*::arg:->args'
1374
+ case $state in
1375
+ args)
1376
+ case $words[1] in
1377
+ init) _postman_fn_init ;;
1378
+ describe) _postman_fn_describe ;;
1379
+ check) _postman_fn_check ;;
1380
+ run) _postman_fn_run ;;
1381
+ esac
1382
+ ;;
1383
+ esac
1384
+ }
1385
+
1386
+ _postman_fn_commands() {
1387
+ local -a sub
1388
+ sub=(
1389
+ 'init:Create a starter workflow in the current or chosen directory (requires Postman login)'
1390
+ 'describe:Describe workflow primitives and blocks (requires Postman login)'
1391
+ 'check:Validate a workflow definition without running its steps (requires Postman login)'
1392
+ 'run:Run a workflow using Postman login for AI and evals'
1393
+ )
1394
+ _describe -t commands 'fn command' sub
1395
+ }
1396
+
1397
+ _postman_fn_init() {
1398
+ _arguments \
1399
+ '--json[Output JSON (default when stdout is piped)]' \
1400
+ '--api-key[Postman API key (otherwise use postman login or POSTMAN_API_KEY)]:key:_files -g "*.(pem|crt|key)"' \
1401
+ '(-h --help)'{-h,--help}'[display help for command]' \
1402
+ '*:path:_files -g "*.json"'
1403
+ }
1404
+
1405
+ _postman_fn_describe() {
1406
+ _arguments \
1407
+ '--json[Output JSON (default when stdout is piped)]' \
1408
+ '--api-key[Postman API key (otherwise use postman login or POSTMAN_API_KEY)]:key:_files -g "*.(pem|crt|key)"' \
1409
+ '(-h --help)'{-h,--help}'[display help for command]' \
1410
+ '*:subject:'
1411
+ }
1412
+
1413
+ _postman_fn_check() {
1414
+ _arguments \
1415
+ '--json[Output JSON (default when stdout is piped)]' \
1416
+ '--api-key[Postman API key (otherwise use postman login or POSTMAN_API_KEY)]:key:_files -g "*.(pem|crt|key)"' \
1417
+ '--timeout[Maximum time to load and validate the workflow (default\: "30000")]:ms' \
1418
+ '(-h --help)'{-h,--help}'[display help for command]' \
1419
+ '*:workflow.ts:'
1420
+ }
1421
+
1422
+ _postman_fn_run() {
1423
+ _arguments \
1424
+ '--input[JSON array of workflow inputs]:input.json' \
1425
+ '--config[Workflow configuration JSON file]:config.json' \
1426
+ '--json[Output JSON (default when stdout is piped)]' \
1427
+ '--api-key[Postman API key (otherwise use postman login or POSTMAN_API_KEY)]:key:_files -g "*.(pem|crt|key)"' \
1428
+ '--timeout[Maximum time to load and run the workflow (default\: "300000")]:ms' \
1429
+ '--verbose[Show workflow logs and step details without changing the workflow log level]' \
1430
+ '--stream[Stream JSON events and workflow logs followed by a summary]' \
1431
+ '--visualize[Write an HTML visualization of the execution]' \
1432
+ '--out[New visualization file path (requires --visualize)]:output.html' \
1433
+ '(-h --help)'{-h,--help}'[display help for command]' \
1434
+ '*:workflow.ts:'
1435
+ }
1436
+
1361
1437
  _postman_globals() {
1362
1438
  local context state state_descr line
1363
1439
  typeset -A opt_args
@@ -1511,17 +1587,17 @@ _postman_mock_generate() {
1511
1587
  '--mode[How the mock behaves\: static (replays examples, the default), stateful (keeps records\: create, read, list, update, delete), or ai (stateful, plus realistic data and business rules; generated by Postman, needs `postman login`).]:mode' \
1512
1588
  '--stateful[Same as --mode stateful. Generated offline for a local file, by Postman with --workspace, --spec, --collection or --dataset (validated, with seed data). Endpoints that are not CRUD-shaped stay static.]' \
1513
1589
  '--instructions[With --mode ai\: guidance for the AI, up to 2000 characters, e.g. "Orders can only be cancelled before they ship". Recorded with the mock, so --update reuses them.]:text' \
1514
- '--strict[With --mode ai\: fail instead of falling back. Postman refuses a mock it would build without AI (exit 1, nothing written or saved). A mock whose AI rules reached only some operations, or one an older Postman built without AI anyway, is kept but exits 4.]' \
1590
+ '--strict[With --mode ai\: fail instead of falling back. Postman refuses a mock it would build without AI (exit 1, nothing written or saved). A mock whose AI rules reached only some operations, or one an older Postman built without AI anyway, is kept but exits 4. A cloud mock is saved before AI runs, so when AI fails it keeps its contract-derived version (exit 1).]' \
1515
1591
  '--spec[Generate from a spec in Postman (by id) instead of a local file. With --workspace, the mock stays linked to it and is regenerated when it changes.]:specId' \
1516
1592
  '--collection[Generate from a collection in Postman (by id) instead of a local file. With --workspace, the mock stays linked to it and is regenerated when it changes.]:collectionId:_files -g "*.json"' \
1517
1593
  '--dataset[Generate from a dataset\: its tables become resources and their first 20 rows the records. A dataset in Postman (by id) or a local .dataset.yaml (CSV and JSON sources). Generated by Postman in stateful (the default) or ai mode; AI sees the column names and types, never the rows.]:datasetIdOrPath' \
1518
- '--force[Replace the mock'\''s files if the target folder already holds a mock. A folder with other files and no mock is never written to.]' \
1594
+ '--force[Replace the mock'\''s files if the target folder already holds a mock. A folder with other files and no mock is never written to. With --update, regenerate a handler that was edited by hand.]' \
1519
1595
  '(-u --update)'{-u,--update}'[Regenerate an existing mock in place\: one in your repository by path (e.g. ./postman/mocks/orders), or one in Postman cloud by id. Without a source or --mode, it uses the ones the mock recorded (and an ai mock'\''s instructions). Cannot be used with --output.]:mockPathOrId:_files -g "*.json"' \
1520
1596
  '(-w --workspace)'{-w,--workspace}'[Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update <mockPath>; with --deploy it only picks the workspace, and with --update <cloudMockId> it names the workspace the mock is in.]:id' \
1521
1597
  '--deploy[After generating, upload the mock to Postman cloud and deploy it to a live mock server (private by default). Uses --workspace, else the workspace linked to this project.]' \
1522
1598
  '--public[With --deploy, let anyone with the link reach the server (default\: callers need an API key). Requires --deploy.]' \
1523
1599
  '(-s --slug)'{-s,--slug}'[With --deploy, the short label used in the server'\''s web address. Requires --deploy.]:slug' \
1524
- '--timeout[How long to wait for Postman to generate the mock, in milliseconds (default 75000).]:ms' \
1600
+ '--timeout[How long to wait for Postman to answer the generate request, in milliseconds (default 75000). With --mode ai, the AI step that follows is waited for up to 10 minutes.]:ms' \
1525
1601
  '--api-key[Postman API key for anything Postman generates, saves or deploys (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
1526
1602
  '--json[Print the result as machine-readable data instead of a summary\: the generated mock, or with --deploy the live server details]' \
1527
1603
  '(-x --suppress-exit-code)'{-x,--suppress-exit-code}'[Always exit with code 0, even on failure]' \
@@ -3305,6 +3381,299 @@ _postman_feedback() {
3305
3381
  '*:text:'
3306
3382
  }
3307
3383
 
3384
+ _postman_mcp() {
3385
+ local context state state_descr line
3386
+ typeset -A opt_args
3387
+ _arguments -C \
3388
+ '(-h --help)'{-h,--help}'[display help for command]' \
3389
+ '1: :_postman_mcp_commands' \
3390
+ '*::arg:->args'
3391
+ case $state in
3392
+ args)
3393
+ case $words[1] in
3394
+ inspect) _postman_mcp_inspect ;;
3395
+ tools) _postman_mcp_tools ;;
3396
+ resources) _postman_mcp_resources ;;
3397
+ prompts) _postman_mcp_prompts ;;
3398
+ esac
3399
+ ;;
3400
+ esac
3401
+ }
3402
+
3403
+ _postman_mcp_commands() {
3404
+ local -a sub
3405
+ sub=(
3406
+ 'inspect:Show what an MCP server reports at initialize\: capabilities and counts of tools, resources, resource templates and prompts (initialize, then every */list)'
3407
+ 'tools:List and call the tools an MCP server offers'
3408
+ 'resources:List and read the resources an MCP server offers'
3409
+ 'prompts:List and get the prompts an MCP server offers'
3410
+ )
3411
+ _describe -t commands 'mcp command' sub
3412
+ }
3413
+
3414
+ _postman_mcp_inspect() {
3415
+ _arguments \
3416
+ '--json[Print the report as JSON]' \
3417
+ '--debug[Print each @postman/runtime event, and the MCP client'\''s debug messages, to stderr]' \
3418
+ '--request[Reuse a saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3419
+ '--url[Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)]:url' \
3420
+ '(-H --header)'{-H,--header}'[Add an HTTP header in key\:value format. Repeatable. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
3421
+ '--transport[Check the transport the target uses (choices\: "http", "stdio")]:transport' \
3422
+ '--command[Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --]:command' \
3423
+ '--command-env[Set an environment variable for the --command server. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3424
+ '--allow-stdio[Allow starting a local process for a stdio server]' \
3425
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification for HTTP servers]' \
3426
+ '--timeout-request[Time limit for each MCP operation in ms (default\: 60000, 0 for none)]:ms' \
3427
+ '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3428
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3429
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3430
+ '(-h --help)'{-h,--help}'[display help for command]'
3431
+ }
3432
+
3433
+ _postman_mcp_tools() {
3434
+ local context state state_descr line
3435
+ typeset -A opt_args
3436
+ _arguments -C \
3437
+ '(-h --help)'{-h,--help}'[display help for command]' \
3438
+ '1: :_postman_mcp_tools_commands' \
3439
+ '*::arg:->args'
3440
+ case $state in
3441
+ args)
3442
+ case $words[1] in
3443
+ list) _postman_mcp_tools_list ;;
3444
+ call) _postman_mcp_tools_call ;;
3445
+ esac
3446
+ ;;
3447
+ esac
3448
+ }
3449
+
3450
+ _postman_mcp_tools_commands() {
3451
+ local -a sub
3452
+ sub=(
3453
+ 'list:List the tools an MCP server offers (tools/list)'
3454
+ 'call:Call one tool and print its result (tools/call)'
3455
+ )
3456
+ _describe -t commands 'tools command' sub
3457
+ }
3458
+
3459
+ _postman_mcp_tools_list() {
3460
+ _arguments \
3461
+ '--json[Print { tools } as JSON]' \
3462
+ '--debug[Print each @postman/runtime event, and the MCP client'\''s debug messages, to stderr]' \
3463
+ '--request[Reuse a saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3464
+ '--url[Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)]:url' \
3465
+ '(-H --header)'{-H,--header}'[Add an HTTP header in key\:value format. Repeatable. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
3466
+ '--transport[Check the transport the target uses (choices\: "http", "stdio")]:transport' \
3467
+ '--command[Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --]:command' \
3468
+ '--command-env[Set an environment variable for the --command server. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3469
+ '--allow-stdio[Allow starting a local process for a stdio server]' \
3470
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification for HTTP servers]' \
3471
+ '--timeout-request[Time limit for each MCP operation in ms (default\: 60000, 0 for none)]:ms' \
3472
+ '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3473
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3474
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3475
+ '(-h --help)'{-h,--help}'[display help for command]'
3476
+ }
3477
+
3478
+ _postman_mcp_tools_call() {
3479
+ _arguments \
3480
+ '--args[Tool arguments as a JSON object, @path to a JSON file, or - for stdin. Defaults to the --request message'\''s saved arguments for the same tool]:json|@file|-' \
3481
+ '--arg[One tool argument, typed by the tool'\''s inputSchema (a number, boolean, JSON object or array, or a string). Repeatable; a repeated key keeps the last value. Not with --args (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3482
+ '--json[Print the CallToolResult as JSON]' \
3483
+ '--debug[Print each @postman/runtime event, and the MCP client'\''s debug messages, to stderr]' \
3484
+ '--request[Reuse a saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3485
+ '--url[Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)]:url' \
3486
+ '(-H --header)'{-H,--header}'[Add an HTTP header in key\:value format. Repeatable. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
3487
+ '--transport[Check the transport the target uses (choices\: "http", "stdio")]:transport' \
3488
+ '--command[Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --]:command' \
3489
+ '--command-env[Set an environment variable for the --command server. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3490
+ '--allow-stdio[Allow starting a local process for a stdio server]' \
3491
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification for HTTP servers]' \
3492
+ '--timeout-request[Time limit for each MCP operation in ms (default\: 60000, 0 for none)]:ms' \
3493
+ '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3494
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3495
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3496
+ '(-h --help)'{-h,--help}'[display help for command]' \
3497
+ '*:tool:'
3498
+ }
3499
+
3500
+ _postman_mcp_resources() {
3501
+ local context state state_descr line
3502
+ typeset -A opt_args
3503
+ _arguments -C \
3504
+ '(-h --help)'{-h,--help}'[display help for command]' \
3505
+ '1: :_postman_mcp_resources_commands' \
3506
+ '*::arg:->args'
3507
+ case $state in
3508
+ args)
3509
+ case $words[1] in
3510
+ list) _postman_mcp_resources_list ;;
3511
+ templates) _postman_mcp_resources_templates ;;
3512
+ read) _postman_mcp_resources_read ;;
3513
+ esac
3514
+ ;;
3515
+ esac
3516
+ }
3517
+
3518
+ _postman_mcp_resources_commands() {
3519
+ local -a sub
3520
+ sub=(
3521
+ 'list:List the resources an MCP server offers (resources/list)'
3522
+ 'templates:List the resource templates an MCP server offers'
3523
+ 'read:Read one resource and print its contents (resources/read)'
3524
+ )
3525
+ _describe -t commands 'resources command' sub
3526
+ }
3527
+
3528
+ _postman_mcp_resources_list() {
3529
+ _arguments \
3530
+ '--json[Print { resources } as JSON]' \
3531
+ '--debug[Print each @postman/runtime event, and the MCP client'\''s debug messages, to stderr]' \
3532
+ '--request[Reuse a saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3533
+ '--url[Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)]:url' \
3534
+ '(-H --header)'{-H,--header}'[Add an HTTP header in key\:value format. Repeatable. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
3535
+ '--transport[Check the transport the target uses (choices\: "http", "stdio")]:transport' \
3536
+ '--command[Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --]:command' \
3537
+ '--command-env[Set an environment variable for the --command server. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3538
+ '--allow-stdio[Allow starting a local process for a stdio server]' \
3539
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification for HTTP servers]' \
3540
+ '--timeout-request[Time limit for each MCP operation in ms (default\: 60000, 0 for none)]:ms' \
3541
+ '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3542
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3543
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3544
+ '(-h --help)'{-h,--help}'[display help for command]'
3545
+ }
3546
+
3547
+ _postman_mcp_resources_templates() {
3548
+ local context state state_descr line
3549
+ typeset -A opt_args
3550
+ _arguments -C \
3551
+ '(-h --help)'{-h,--help}'[display help for command]' \
3552
+ '1: :_postman_mcp_resources_templates_commands' \
3553
+ '*::arg:->args'
3554
+ case $state in
3555
+ args)
3556
+ case $words[1] in
3557
+ list) _postman_mcp_resources_templates_list ;;
3558
+ esac
3559
+ ;;
3560
+ esac
3561
+ }
3562
+
3563
+ _postman_mcp_resources_templates_commands() {
3564
+ local -a sub
3565
+ sub=(
3566
+ 'list:List the resource templates an MCP server offers (resources/templates/list)'
3567
+ )
3568
+ _describe -t commands 'templates command' sub
3569
+ }
3570
+
3571
+ _postman_mcp_resources_templates_list() {
3572
+ _arguments \
3573
+ '--json[Print { resourceTemplates } as JSON]' \
3574
+ '--debug[Print each @postman/runtime event, and the MCP client'\''s debug messages, to stderr]' \
3575
+ '--request[Reuse a saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3576
+ '--url[Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)]:url' \
3577
+ '(-H --header)'{-H,--header}'[Add an HTTP header in key\:value format. Repeatable. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
3578
+ '--transport[Check the transport the target uses (choices\: "http", "stdio")]:transport' \
3579
+ '--command[Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --]:command' \
3580
+ '--command-env[Set an environment variable for the --command server. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3581
+ '--allow-stdio[Allow starting a local process for a stdio server]' \
3582
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification for HTTP servers]' \
3583
+ '--timeout-request[Time limit for each MCP operation in ms (default\: 60000, 0 for none)]:ms' \
3584
+ '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3585
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3586
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3587
+ '(-h --help)'{-h,--help}'[display help for command]'
3588
+ }
3589
+
3590
+ _postman_mcp_resources_read() {
3591
+ _arguments \
3592
+ '--json[Print the ReadResourceResult as JSON (blob contents stay base64)]' \
3593
+ '--debug[Print each @postman/runtime event, and the MCP client'\''s debug messages, to stderr]' \
3594
+ '--request[Reuse a saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3595
+ '--url[Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)]:url' \
3596
+ '(-H --header)'{-H,--header}'[Add an HTTP header in key\:value format. Repeatable. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
3597
+ '--transport[Check the transport the target uses (choices\: "http", "stdio")]:transport' \
3598
+ '--command[Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --]:command' \
3599
+ '--command-env[Set an environment variable for the --command server. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3600
+ '--allow-stdio[Allow starting a local process for a stdio server]' \
3601
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification for HTTP servers]' \
3602
+ '--timeout-request[Time limit for each MCP operation in ms (default\: 60000, 0 for none)]:ms' \
3603
+ '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3604
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3605
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3606
+ '(-h --help)'{-h,--help}'[display help for command]' \
3607
+ '*:uri:'
3608
+ }
3609
+
3610
+ _postman_mcp_prompts() {
3611
+ local context state state_descr line
3612
+ typeset -A opt_args
3613
+ _arguments -C \
3614
+ '(-h --help)'{-h,--help}'[display help for command]' \
3615
+ '1: :_postman_mcp_prompts_commands' \
3616
+ '*::arg:->args'
3617
+ case $state in
3618
+ args)
3619
+ case $words[1] in
3620
+ list) _postman_mcp_prompts_list ;;
3621
+ get) _postman_mcp_prompts_get ;;
3622
+ esac
3623
+ ;;
3624
+ esac
3625
+ }
3626
+
3627
+ _postman_mcp_prompts_commands() {
3628
+ local -a sub
3629
+ sub=(
3630
+ 'list:List the prompts an MCP server offers (prompts/list)'
3631
+ 'get:Get one prompt with its arguments filled in (prompts/get)'
3632
+ )
3633
+ _describe -t commands 'prompts command' sub
3634
+ }
3635
+
3636
+ _postman_mcp_prompts_list() {
3637
+ _arguments \
3638
+ '--json[Print { prompts } as JSON]' \
3639
+ '--debug[Print each @postman/runtime event, and the MCP client'\''s debug messages, to stderr]' \
3640
+ '--request[Reuse a saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3641
+ '--url[Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)]:url' \
3642
+ '(-H --header)'{-H,--header}'[Add an HTTP header in key\:value format. Repeatable. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
3643
+ '--transport[Check the transport the target uses (choices\: "http", "stdio")]:transport' \
3644
+ '--command[Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --]:command' \
3645
+ '--command-env[Set an environment variable for the --command server. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3646
+ '--allow-stdio[Allow starting a local process for a stdio server]' \
3647
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification for HTTP servers]' \
3648
+ '--timeout-request[Time limit for each MCP operation in ms (default\: 60000, 0 for none)]:ms' \
3649
+ '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3650
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3651
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3652
+ '(-h --help)'{-h,--help}'[display help for command]'
3653
+ }
3654
+
3655
+ _postman_mcp_prompts_get() {
3656
+ _arguments \
3657
+ '--args[Prompt arguments as a JSON object of strings, @path, or - for stdin]:json|@file|-' \
3658
+ '--arg[One prompt argument, always sent as a string. Repeatable; a repeated key keeps the last value. Not with --args (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3659
+ '--json[Print the GetPromptResult as JSON]' \
3660
+ '--debug[Print each @postman/runtime event, and the MCP client'\''s debug messages, to stderr]' \
3661
+ '--request[Reuse a saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3662
+ '--url[Connect to a remote MCP server over HTTP (streamable HTTP, falling back to legacy SSE)]:url' \
3663
+ '(-H --header)'{-H,--header}'[Add an HTTP header in key\:value format. Repeatable. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
3664
+ '--transport[Check the transport the target uses (choices\: "http", "stdio")]:transport' \
3665
+ '--command[Start a local MCP server and talk to it over stdio. Needs --allow-stdio. Or pass the command and its arguments after --]:command' \
3666
+ '--command-env[Set an environment variable for the --command server. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3667
+ '--allow-stdio[Allow starting a local process for a stdio server]' \
3668
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification for HTTP servers]' \
3669
+ '--timeout-request[Time limit for each MCP operation in ms (default\: 60000, 0 for none)]:ms' \
3670
+ '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3671
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3672
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3673
+ '(-h --help)'{-h,--help}'[display help for command]' \
3674
+ '*:name:'
3675
+ }
3676
+
3308
3677
  _postman_performance() {
3309
3678
  local context state state_descr line
3310
3679
  typeset -A opt_args
@@ -3642,6 +4011,7 @@ _postman_team_list() {
3642
4011
  _postman_update() {
3643
4012
  _arguments \
3644
4013
  '--check[Check whether a Postman CLI update is available.]' \
4014
+ '--timeout[Timeout for the update check in milliseconds (default\: 30000).]:ms' \
3645
4015
  '(-h --help)'{-h,--help}'[display help for command]'
3646
4016
  }
3647
4017
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli-completion",
3
- "version": "1.87.0",
3
+ "version": "1.88.0",
4
4
  "description": "Shell completions for the Postman CLI (zsh, bash, fish)",
5
5
  "type": "module",
6
6
  "bin": {