@procedures/mark 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/README.md +38 -4
- package/dist/.tsbuildinfo +1 -1
- package/dist/args.d.ts +3 -1
- package/dist/args.d.ts.map +1 -1
- package/dist/args.js +5 -1
- package/dist/args.js.map +1 -1
- package/dist/cli.d.ts +7 -2
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +57 -17
- package/dist/cli.js.map +1 -1
- package/dist/client-mode.d.ts +1 -1
- package/dist/client-mode.d.ts.map +1 -1
- package/dist/client-mode.js +3 -2
- package/dist/client-mode.js.map +1 -1
- package/dist/ecosystem.d.ts +13 -2
- package/dist/ecosystem.d.ts.map +1 -1
- package/dist/ecosystem.js +26 -4
- package/dist/ecosystem.js.map +1 -1
- package/dist/manifest.json +619 -46
- package/dist/repl.d.ts +2 -0
- package/dist/repl.d.ts.map +1 -1
- package/dist/repl.js +1 -1
- package/dist/repl.js.map +1 -1
- package/dist/server-mode.d.ts +9 -1
- package/dist/server-mode.d.ts.map +1 -1
- package/dist/server-mode.js +14 -4
- package/dist/server-mode.js.map +1 -1
- package/package.json +49 -49
- package/src/args.ts +8 -2
- package/src/cli.ts +65 -17
- package/src/client-mode.ts +4 -2
- package/src/ecosystem.ts +39 -4
- package/src/repl.ts +3 -1
- package/src/server-mode.ts +21 -4
package/dist/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 2,
|
|
3
|
-
"fingerprint": "
|
|
4
|
-
"generatedAt": "2026-10-
|
|
3
|
+
"fingerprint": "1e07cf1b9fdf41f88b4c0f6f26a9d12aebf0a2dc084f88c221ee3312766cba0b",
|
|
4
|
+
"generatedAt": "2026-10-17T16:25:02.516Z",
|
|
5
5
|
"commands": [
|
|
6
6
|
{
|
|
7
7
|
"path": [
|
|
@@ -6353,7 +6353,7 @@
|
|
|
6353
6353
|
"kind": "string"
|
|
6354
6354
|
},
|
|
6355
6355
|
"required": false,
|
|
6356
|
-
"description": "The base folder of files (default: the working folder)"
|
|
6356
|
+
"description": "The base folder of files (default: the working folder, or the root of the module)"
|
|
6357
6357
|
},
|
|
6358
6358
|
{
|
|
6359
6359
|
"name": "format",
|
|
@@ -6414,7 +6414,7 @@
|
|
|
6414
6414
|
"type": "string",
|
|
6415
6415
|
"minLength": 1,
|
|
6416
6416
|
"maxLength": 4096,
|
|
6417
|
-
"description": "The base folder of files (default: the working folder)"
|
|
6417
|
+
"description": "The base folder of files (default: the working folder, or the root of the module)"
|
|
6418
6418
|
},
|
|
6419
6419
|
"format": {
|
|
6420
6420
|
"description": "The format (default: from the name of output: .tar.gz, .tgz, .tar or .zip)",
|
|
@@ -16855,6 +16855,18 @@
|
|
|
16855
16855
|
"required": true,
|
|
16856
16856
|
"description": "Procedure flags that hide a global flag of mark after the command path (information only)"
|
|
16857
16857
|
},
|
|
16858
|
+
{
|
|
16859
|
+
"name": "procedureIssues",
|
|
16860
|
+
"type": "json[]",
|
|
16861
|
+
"fieldType": {
|
|
16862
|
+
"kind": "array",
|
|
16863
|
+
"item": {
|
|
16864
|
+
"kind": "object"
|
|
16865
|
+
}
|
|
16866
|
+
},
|
|
16867
|
+
"required": true,
|
|
16868
|
+
"description": "The procedures of the registry of the host without metadata.effects. A host with a capability refuses them. These warnings do not change success."
|
|
16869
|
+
},
|
|
16858
16870
|
{
|
|
16859
16871
|
"name": "template",
|
|
16860
16872
|
"type": "json",
|
|
@@ -17335,7 +17347,7 @@
|
|
|
17335
17347
|
}
|
|
17336
17348
|
},
|
|
17337
17349
|
"required": true,
|
|
17338
|
-
"description": "The result of each visited
|
|
17350
|
+
"description": "The result of each node of the graph: the visited nodes, then the skipped nodes"
|
|
17339
17351
|
},
|
|
17340
17352
|
{
|
|
17341
17353
|
"name": "totalDuration",
|
|
@@ -17353,7 +17365,7 @@
|
|
|
17353
17365
|
"kind": "number"
|
|
17354
17366
|
},
|
|
17355
17367
|
"required": true,
|
|
17356
|
-
"description": "The number of
|
|
17368
|
+
"description": "The number of visits that succeeded"
|
|
17357
17369
|
},
|
|
17358
17370
|
{
|
|
17359
17371
|
"name": "failed",
|
|
@@ -17362,7 +17374,16 @@
|
|
|
17362
17374
|
"kind": "number"
|
|
17363
17375
|
},
|
|
17364
17376
|
"required": true,
|
|
17365
|
-
"description": "The number of failed
|
|
17377
|
+
"description": "The number of visits that failed. A skipped node is not in this number."
|
|
17378
|
+
},
|
|
17379
|
+
{
|
|
17380
|
+
"name": "skipped",
|
|
17381
|
+
"type": "number",
|
|
17382
|
+
"fieldType": {
|
|
17383
|
+
"kind": "number"
|
|
17384
|
+
},
|
|
17385
|
+
"required": true,
|
|
17386
|
+
"description": "The number of nodes that the traversal did not visit"
|
|
17366
17387
|
}
|
|
17367
17388
|
]
|
|
17368
17389
|
},
|
|
@@ -36557,7 +36578,7 @@
|
|
|
36557
36578
|
"complete"
|
|
36558
36579
|
],
|
|
36559
36580
|
"metadata": {
|
|
36560
|
-
"description": "Send a prompt to a language model and give the text and the usage",
|
|
36581
|
+
"description": "Send a prompt to a language model and give the text and the usage. The model can use tools and procedures",
|
|
36561
36582
|
"args": [
|
|
36562
36583
|
"prompt"
|
|
36563
36584
|
],
|
|
@@ -36643,7 +36664,7 @@
|
|
|
36643
36664
|
"kind": "number"
|
|
36644
36665
|
},
|
|
36645
36666
|
"required": false,
|
|
36646
|
-
"description": "The time limit of
|
|
36667
|
+
"description": "The time limit of each request, in milliseconds (default 600000)"
|
|
36647
36668
|
},
|
|
36648
36669
|
{
|
|
36649
36670
|
"name": "fallback",
|
|
@@ -36653,6 +36674,71 @@
|
|
|
36653
36674
|
},
|
|
36654
36675
|
"required": false,
|
|
36655
36676
|
"description": "True: the API runs a declined request again on its fallback model (default: the option of the module, true)"
|
|
36677
|
+
},
|
|
36678
|
+
{
|
|
36679
|
+
"name": "tools",
|
|
36680
|
+
"type": "json[]",
|
|
36681
|
+
"fieldType": {
|
|
36682
|
+
"kind": "array",
|
|
36683
|
+
"item": {
|
|
36684
|
+
"kind": "object"
|
|
36685
|
+
}
|
|
36686
|
+
},
|
|
36687
|
+
"required": false,
|
|
36688
|
+
"description": "The tools that the model can use. The output gives each tool_use block"
|
|
36689
|
+
},
|
|
36690
|
+
{
|
|
36691
|
+
"name": "toolChoice",
|
|
36692
|
+
"type": "json|json|json|json",
|
|
36693
|
+
"fieldType": {
|
|
36694
|
+
"kind": "union",
|
|
36695
|
+
"options": [
|
|
36696
|
+
{
|
|
36697
|
+
"kind": "object"
|
|
36698
|
+
},
|
|
36699
|
+
{
|
|
36700
|
+
"kind": "object"
|
|
36701
|
+
},
|
|
36702
|
+
{
|
|
36703
|
+
"kind": "object"
|
|
36704
|
+
},
|
|
36705
|
+
{
|
|
36706
|
+
"kind": "object"
|
|
36707
|
+
}
|
|
36708
|
+
]
|
|
36709
|
+
},
|
|
36710
|
+
"required": false,
|
|
36711
|
+
"description": "How the model uses the tools: auto (default), any, tool or none. Some models refuse any and tool"
|
|
36712
|
+
},
|
|
36713
|
+
{
|
|
36714
|
+
"name": "retries",
|
|
36715
|
+
"type": "number",
|
|
36716
|
+
"fieldType": {
|
|
36717
|
+
"kind": "number"
|
|
36718
|
+
},
|
|
36719
|
+
"required": false,
|
|
36720
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)"
|
|
36721
|
+
},
|
|
36722
|
+
{
|
|
36723
|
+
"name": "procedures",
|
|
36724
|
+
"type": "string[]",
|
|
36725
|
+
"fieldType": {
|
|
36726
|
+
"kind": "array",
|
|
36727
|
+
"item": {
|
|
36728
|
+
"kind": "string"
|
|
36729
|
+
}
|
|
36730
|
+
},
|
|
36731
|
+
"required": false,
|
|
36732
|
+
"description": "The procedures that the model can use as tools: llm.complete calls them and sends the results back"
|
|
36733
|
+
},
|
|
36734
|
+
{
|
|
36735
|
+
"name": "maxRounds",
|
|
36736
|
+
"type": "number",
|
|
36737
|
+
"fieldType": {
|
|
36738
|
+
"kind": "number"
|
|
36739
|
+
},
|
|
36740
|
+
"required": false,
|
|
36741
|
+
"description": "The most requests to the model in one call, 1 to 64 (default 8)"
|
|
36656
36742
|
}
|
|
36657
36743
|
],
|
|
36658
36744
|
"inputSchema": {
|
|
@@ -36700,7 +36786,7 @@
|
|
|
36700
36786
|
]
|
|
36701
36787
|
},
|
|
36702
36788
|
"timeoutMs": {
|
|
36703
|
-
"description": "The time limit of
|
|
36789
|
+
"description": "The time limit of each request, in milliseconds (default 600000)",
|
|
36704
36790
|
"type": "integer",
|
|
36705
36791
|
"exclusiveMinimum": 0,
|
|
36706
36792
|
"maximum": 3600000
|
|
@@ -36708,6 +36794,134 @@
|
|
|
36708
36794
|
"fallback": {
|
|
36709
36795
|
"description": "True: the API runs a declined request again on its fallback model (default: the option of the module, true)",
|
|
36710
36796
|
"type": "boolean"
|
|
36797
|
+
},
|
|
36798
|
+
"tools": {
|
|
36799
|
+
"description": "The tools that the model can use. The output gives each tool_use block",
|
|
36800
|
+
"maxItems": 128,
|
|
36801
|
+
"type": "array",
|
|
36802
|
+
"items": {
|
|
36803
|
+
"type": "object",
|
|
36804
|
+
"properties": {
|
|
36805
|
+
"name": {
|
|
36806
|
+
"type": "string",
|
|
36807
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
36808
|
+
"description": "The name of the tool"
|
|
36809
|
+
},
|
|
36810
|
+
"description": {
|
|
36811
|
+
"description": "What the tool does and when the model uses it",
|
|
36812
|
+
"type": "string",
|
|
36813
|
+
"maxLength": 100000
|
|
36814
|
+
},
|
|
36815
|
+
"inputSchema": {
|
|
36816
|
+
"type": "object",
|
|
36817
|
+
"propertyNames": {
|
|
36818
|
+
"type": "string"
|
|
36819
|
+
},
|
|
36820
|
+
"additionalProperties": {},
|
|
36821
|
+
"description": "The JSON Schema of the input of the tool, with type object"
|
|
36822
|
+
},
|
|
36823
|
+
"strict": {
|
|
36824
|
+
"description": "True: the API makes each input agree with the schema (strict tool use)",
|
|
36825
|
+
"type": "boolean"
|
|
36826
|
+
}
|
|
36827
|
+
},
|
|
36828
|
+
"required": [
|
|
36829
|
+
"name",
|
|
36830
|
+
"inputSchema"
|
|
36831
|
+
]
|
|
36832
|
+
}
|
|
36833
|
+
},
|
|
36834
|
+
"toolChoice": {
|
|
36835
|
+
"oneOf": [
|
|
36836
|
+
{
|
|
36837
|
+
"type": "object",
|
|
36838
|
+
"properties": {
|
|
36839
|
+
"type": {
|
|
36840
|
+
"type": "string",
|
|
36841
|
+
"const": "auto"
|
|
36842
|
+
},
|
|
36843
|
+
"disableParallelToolUse": {
|
|
36844
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
36845
|
+
"type": "boolean"
|
|
36846
|
+
}
|
|
36847
|
+
},
|
|
36848
|
+
"required": [
|
|
36849
|
+
"type"
|
|
36850
|
+
]
|
|
36851
|
+
},
|
|
36852
|
+
{
|
|
36853
|
+
"type": "object",
|
|
36854
|
+
"properties": {
|
|
36855
|
+
"type": {
|
|
36856
|
+
"type": "string",
|
|
36857
|
+
"const": "any"
|
|
36858
|
+
},
|
|
36859
|
+
"disableParallelToolUse": {
|
|
36860
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
36861
|
+
"type": "boolean"
|
|
36862
|
+
}
|
|
36863
|
+
},
|
|
36864
|
+
"required": [
|
|
36865
|
+
"type"
|
|
36866
|
+
]
|
|
36867
|
+
},
|
|
36868
|
+
{
|
|
36869
|
+
"type": "object",
|
|
36870
|
+
"properties": {
|
|
36871
|
+
"type": {
|
|
36872
|
+
"type": "string",
|
|
36873
|
+
"const": "tool"
|
|
36874
|
+
},
|
|
36875
|
+
"name": {
|
|
36876
|
+
"type": "string",
|
|
36877
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
36878
|
+
"description": "The tool that the model uses"
|
|
36879
|
+
},
|
|
36880
|
+
"disableParallelToolUse": {
|
|
36881
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
36882
|
+
"type": "boolean"
|
|
36883
|
+
}
|
|
36884
|
+
},
|
|
36885
|
+
"required": [
|
|
36886
|
+
"type",
|
|
36887
|
+
"name"
|
|
36888
|
+
]
|
|
36889
|
+
},
|
|
36890
|
+
{
|
|
36891
|
+
"type": "object",
|
|
36892
|
+
"properties": {
|
|
36893
|
+
"type": {
|
|
36894
|
+
"type": "string",
|
|
36895
|
+
"const": "none"
|
|
36896
|
+
}
|
|
36897
|
+
},
|
|
36898
|
+
"required": [
|
|
36899
|
+
"type"
|
|
36900
|
+
]
|
|
36901
|
+
}
|
|
36902
|
+
],
|
|
36903
|
+
"description": "How the model uses the tools: auto (default), any, tool or none. Some models refuse any and tool"
|
|
36904
|
+
},
|
|
36905
|
+
"retries": {
|
|
36906
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)",
|
|
36907
|
+
"type": "integer",
|
|
36908
|
+
"minimum": 0,
|
|
36909
|
+
"maximum": 10
|
|
36910
|
+
},
|
|
36911
|
+
"procedures": {
|
|
36912
|
+
"description": "The procedures that the model can use as tools: llm.complete calls them and sends the results back",
|
|
36913
|
+
"maxItems": 64,
|
|
36914
|
+
"type": "array",
|
|
36915
|
+
"items": {
|
|
36916
|
+
"type": "string",
|
|
36917
|
+
"pattern": "^[A-Za-z0-9_-]+(\\.[A-Za-z0-9_-]+)*$"
|
|
36918
|
+
}
|
|
36919
|
+
},
|
|
36920
|
+
"maxRounds": {
|
|
36921
|
+
"description": "The most requests to the model in one call, 1 to 64 (default 8)",
|
|
36922
|
+
"type": "integer",
|
|
36923
|
+
"minimum": 1,
|
|
36924
|
+
"maximum": 64
|
|
36711
36925
|
}
|
|
36712
36926
|
},
|
|
36713
36927
|
"required": [
|
|
@@ -36722,7 +36936,7 @@
|
|
|
36722
36936
|
"kind": "string"
|
|
36723
36937
|
},
|
|
36724
36938
|
"required": true,
|
|
36725
|
-
"description": "The text of the answer"
|
|
36939
|
+
"description": "The text of the last answer"
|
|
36726
36940
|
},
|
|
36727
36941
|
{
|
|
36728
36942
|
"name": "model",
|
|
@@ -36740,7 +36954,7 @@
|
|
|
36740
36954
|
"kind": "string"
|
|
36741
36955
|
},
|
|
36742
36956
|
"required": true,
|
|
36743
|
-
"description": "Why the model stopped: end_turn, max_tokens, stop_sequence or another reason"
|
|
36957
|
+
"description": "Why the model stopped: end_turn, max_tokens, stop_sequence, tool_use or another reason"
|
|
36744
36958
|
},
|
|
36745
36959
|
{
|
|
36746
36960
|
"name": "usage",
|
|
@@ -36750,6 +36964,48 @@
|
|
|
36750
36964
|
},
|
|
36751
36965
|
"required": true,
|
|
36752
36966
|
"description": "The tokens of the call"
|
|
36967
|
+
},
|
|
36968
|
+
{
|
|
36969
|
+
"name": "toolUses",
|
|
36970
|
+
"type": "json[]",
|
|
36971
|
+
"fieldType": {
|
|
36972
|
+
"kind": "array",
|
|
36973
|
+
"item": {
|
|
36974
|
+
"kind": "object"
|
|
36975
|
+
}
|
|
36976
|
+
},
|
|
36977
|
+
"required": true,
|
|
36978
|
+
"description": "The tool_use blocks of the last answer that no procedure ran"
|
|
36979
|
+
},
|
|
36980
|
+
{
|
|
36981
|
+
"name": "toolCalls",
|
|
36982
|
+
"type": "json[]",
|
|
36983
|
+
"fieldType": {
|
|
36984
|
+
"kind": "array",
|
|
36985
|
+
"item": {
|
|
36986
|
+
"kind": "object"
|
|
36987
|
+
}
|
|
36988
|
+
},
|
|
36989
|
+
"required": true,
|
|
36990
|
+
"description": "The calls of the procedure tools, in their sequence"
|
|
36991
|
+
},
|
|
36992
|
+
{
|
|
36993
|
+
"name": "rounds",
|
|
36994
|
+
"type": "number",
|
|
36995
|
+
"fieldType": {
|
|
36996
|
+
"kind": "number"
|
|
36997
|
+
},
|
|
36998
|
+
"required": true,
|
|
36999
|
+
"description": "The number of requests to the model"
|
|
37000
|
+
},
|
|
37001
|
+
{
|
|
37002
|
+
"name": "roundLimit",
|
|
37003
|
+
"type": "boolean",
|
|
37004
|
+
"fieldType": {
|
|
37005
|
+
"kind": "boolean"
|
|
37006
|
+
},
|
|
37007
|
+
"required": true,
|
|
37008
|
+
"description": "True when maxRounds stopped the loop before the model stopped"
|
|
36753
37009
|
}
|
|
36754
37010
|
]
|
|
36755
37011
|
},
|
|
@@ -36845,7 +37101,7 @@
|
|
|
36845
37101
|
"kind": "number"
|
|
36846
37102
|
},
|
|
36847
37103
|
"required": false,
|
|
36848
|
-
"description": "The time limit of
|
|
37104
|
+
"description": "The time limit of each request, in milliseconds (default 600000)"
|
|
36849
37105
|
},
|
|
36850
37106
|
{
|
|
36851
37107
|
"name": "fallback",
|
|
@@ -36885,6 +37141,15 @@
|
|
|
36885
37141
|
},
|
|
36886
37142
|
"required": false,
|
|
36887
37143
|
"description": "The new tries after an answer that is not valid, 0 to 2 (default 2)"
|
|
37144
|
+
},
|
|
37145
|
+
{
|
|
37146
|
+
"name": "requestRetries",
|
|
37147
|
+
"type": "number",
|
|
37148
|
+
"fieldType": {
|
|
37149
|
+
"kind": "number"
|
|
37150
|
+
},
|
|
37151
|
+
"required": false,
|
|
37152
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)"
|
|
36888
37153
|
}
|
|
36889
37154
|
],
|
|
36890
37155
|
"inputSchema": {
|
|
@@ -36932,7 +37197,7 @@
|
|
|
36932
37197
|
]
|
|
36933
37198
|
},
|
|
36934
37199
|
"timeoutMs": {
|
|
36935
|
-
"description": "The time limit of
|
|
37200
|
+
"description": "The time limit of each request, in milliseconds (default 600000)",
|
|
36936
37201
|
"type": "integer",
|
|
36937
37202
|
"exclusiveMinimum": 0,
|
|
36938
37203
|
"maximum": 3600000
|
|
@@ -36958,6 +37223,12 @@
|
|
|
36958
37223
|
"type": "integer",
|
|
36959
37224
|
"minimum": 0,
|
|
36960
37225
|
"maximum": 2
|
|
37226
|
+
},
|
|
37227
|
+
"requestRetries": {
|
|
37228
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)",
|
|
37229
|
+
"type": "integer",
|
|
37230
|
+
"minimum": 0,
|
|
37231
|
+
"maximum": 10
|
|
36961
37232
|
}
|
|
36962
37233
|
},
|
|
36963
37234
|
"required": [
|
|
@@ -37016,6 +37287,328 @@
|
|
|
37016
37287
|
}
|
|
37017
37288
|
]
|
|
37018
37289
|
},
|
|
37290
|
+
{
|
|
37291
|
+
"path": [
|
|
37292
|
+
"llm",
|
|
37293
|
+
"stream"
|
|
37294
|
+
],
|
|
37295
|
+
"metadata": {
|
|
37296
|
+
"description": "Send a prompt to a language model and stream the events of the answer",
|
|
37297
|
+
"args": [
|
|
37298
|
+
"prompt"
|
|
37299
|
+
],
|
|
37300
|
+
"shorts": {
|
|
37301
|
+
"model": "m",
|
|
37302
|
+
"system": "s"
|
|
37303
|
+
},
|
|
37304
|
+
"output": "json"
|
|
37305
|
+
},
|
|
37306
|
+
"fields": [
|
|
37307
|
+
{
|
|
37308
|
+
"name": "prompt",
|
|
37309
|
+
"type": "string",
|
|
37310
|
+
"fieldType": {
|
|
37311
|
+
"kind": "string"
|
|
37312
|
+
},
|
|
37313
|
+
"required": true,
|
|
37314
|
+
"description": "The text of the user"
|
|
37315
|
+
},
|
|
37316
|
+
{
|
|
37317
|
+
"name": "system",
|
|
37318
|
+
"type": "string",
|
|
37319
|
+
"fieldType": {
|
|
37320
|
+
"kind": "string"
|
|
37321
|
+
},
|
|
37322
|
+
"required": false,
|
|
37323
|
+
"description": "The system text: the instructions to the model"
|
|
37324
|
+
},
|
|
37325
|
+
{
|
|
37326
|
+
"name": "model",
|
|
37327
|
+
"type": "string",
|
|
37328
|
+
"fieldType": {
|
|
37329
|
+
"kind": "string"
|
|
37330
|
+
},
|
|
37331
|
+
"required": false,
|
|
37332
|
+
"description": "The model (default: the model of the module, claude-sonnet-5-5)"
|
|
37333
|
+
},
|
|
37334
|
+
{
|
|
37335
|
+
"name": "maxTokens",
|
|
37336
|
+
"type": "number",
|
|
37337
|
+
"fieldType": {
|
|
37338
|
+
"kind": "number"
|
|
37339
|
+
},
|
|
37340
|
+
"required": false,
|
|
37341
|
+
"description": "The most tokens of the output, with the thinking (default 16000)"
|
|
37342
|
+
},
|
|
37343
|
+
{
|
|
37344
|
+
"name": "temperature",
|
|
37345
|
+
"type": "number",
|
|
37346
|
+
"fieldType": {
|
|
37347
|
+
"kind": "number"
|
|
37348
|
+
},
|
|
37349
|
+
"required": false,
|
|
37350
|
+
"description": "The temperature, 0 to 1. Some models accept only the default"
|
|
37351
|
+
},
|
|
37352
|
+
{
|
|
37353
|
+
"name": "effort",
|
|
37354
|
+
"type": "enum",
|
|
37355
|
+
"fieldType": {
|
|
37356
|
+
"kind": "enum",
|
|
37357
|
+
"values": [
|
|
37358
|
+
"low",
|
|
37359
|
+
"medium",
|
|
37360
|
+
"high",
|
|
37361
|
+
"xhigh",
|
|
37362
|
+
"max"
|
|
37363
|
+
]
|
|
37364
|
+
},
|
|
37365
|
+
"required": false,
|
|
37366
|
+
"description": "The effort of the model (default: the default of the model)",
|
|
37367
|
+
"enumValues": [
|
|
37368
|
+
"low",
|
|
37369
|
+
"medium",
|
|
37370
|
+
"high",
|
|
37371
|
+
"xhigh",
|
|
37372
|
+
"max"
|
|
37373
|
+
]
|
|
37374
|
+
},
|
|
37375
|
+
{
|
|
37376
|
+
"name": "timeoutMs",
|
|
37377
|
+
"type": "number",
|
|
37378
|
+
"fieldType": {
|
|
37379
|
+
"kind": "number"
|
|
37380
|
+
},
|
|
37381
|
+
"required": false,
|
|
37382
|
+
"description": "The time limit of each request, in milliseconds (default 600000)"
|
|
37383
|
+
},
|
|
37384
|
+
{
|
|
37385
|
+
"name": "fallback",
|
|
37386
|
+
"type": "boolean",
|
|
37387
|
+
"fieldType": {
|
|
37388
|
+
"kind": "boolean"
|
|
37389
|
+
},
|
|
37390
|
+
"required": false,
|
|
37391
|
+
"description": "True: the API runs a declined request again on its fallback model (default: the option of the module, true)"
|
|
37392
|
+
},
|
|
37393
|
+
{
|
|
37394
|
+
"name": "tools",
|
|
37395
|
+
"type": "json[]",
|
|
37396
|
+
"fieldType": {
|
|
37397
|
+
"kind": "array",
|
|
37398
|
+
"item": {
|
|
37399
|
+
"kind": "object"
|
|
37400
|
+
}
|
|
37401
|
+
},
|
|
37402
|
+
"required": false,
|
|
37403
|
+
"description": "The tools that the model can use. The output gives each tool_use block"
|
|
37404
|
+
},
|
|
37405
|
+
{
|
|
37406
|
+
"name": "toolChoice",
|
|
37407
|
+
"type": "json|json|json|json",
|
|
37408
|
+
"fieldType": {
|
|
37409
|
+
"kind": "union",
|
|
37410
|
+
"options": [
|
|
37411
|
+
{
|
|
37412
|
+
"kind": "object"
|
|
37413
|
+
},
|
|
37414
|
+
{
|
|
37415
|
+
"kind": "object"
|
|
37416
|
+
},
|
|
37417
|
+
{
|
|
37418
|
+
"kind": "object"
|
|
37419
|
+
},
|
|
37420
|
+
{
|
|
37421
|
+
"kind": "object"
|
|
37422
|
+
}
|
|
37423
|
+
]
|
|
37424
|
+
},
|
|
37425
|
+
"required": false,
|
|
37426
|
+
"description": "How the model uses the tools: auto (default), any, tool or none. Some models refuse any and tool"
|
|
37427
|
+
},
|
|
37428
|
+
{
|
|
37429
|
+
"name": "retries",
|
|
37430
|
+
"type": "number",
|
|
37431
|
+
"fieldType": {
|
|
37432
|
+
"kind": "number"
|
|
37433
|
+
},
|
|
37434
|
+
"required": false,
|
|
37435
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)"
|
|
37436
|
+
}
|
|
37437
|
+
],
|
|
37438
|
+
"inputSchema": {
|
|
37439
|
+
"type": "object",
|
|
37440
|
+
"properties": {
|
|
37441
|
+
"prompt": {
|
|
37442
|
+
"type": "string",
|
|
37443
|
+
"minLength": 1,
|
|
37444
|
+
"maxLength": 4000000,
|
|
37445
|
+
"description": "The text of the user"
|
|
37446
|
+
},
|
|
37447
|
+
"system": {
|
|
37448
|
+
"description": "The system text: the instructions to the model",
|
|
37449
|
+
"type": "string",
|
|
37450
|
+
"maxLength": 4000000
|
|
37451
|
+
},
|
|
37452
|
+
"model": {
|
|
37453
|
+
"description": "The model (default: the model of the module, claude-sonnet-5-5)",
|
|
37454
|
+
"type": "string",
|
|
37455
|
+
"minLength": 1,
|
|
37456
|
+
"maxLength": 200,
|
|
37457
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:@/-]*$"
|
|
37458
|
+
},
|
|
37459
|
+
"maxTokens": {
|
|
37460
|
+
"description": "The most tokens of the output, with the thinking (default 16000)",
|
|
37461
|
+
"type": "integer",
|
|
37462
|
+
"minimum": 1,
|
|
37463
|
+
"maximum": 64000
|
|
37464
|
+
},
|
|
37465
|
+
"temperature": {
|
|
37466
|
+
"description": "The temperature, 0 to 1. Some models accept only the default",
|
|
37467
|
+
"type": "number",
|
|
37468
|
+
"minimum": 0,
|
|
37469
|
+
"maximum": 1
|
|
37470
|
+
},
|
|
37471
|
+
"effort": {
|
|
37472
|
+
"description": "The effort of the model (default: the default of the model)",
|
|
37473
|
+
"type": "string",
|
|
37474
|
+
"enum": [
|
|
37475
|
+
"low",
|
|
37476
|
+
"medium",
|
|
37477
|
+
"high",
|
|
37478
|
+
"xhigh",
|
|
37479
|
+
"max"
|
|
37480
|
+
]
|
|
37481
|
+
},
|
|
37482
|
+
"timeoutMs": {
|
|
37483
|
+
"description": "The time limit of each request, in milliseconds (default 600000)",
|
|
37484
|
+
"type": "integer",
|
|
37485
|
+
"exclusiveMinimum": 0,
|
|
37486
|
+
"maximum": 3600000
|
|
37487
|
+
},
|
|
37488
|
+
"fallback": {
|
|
37489
|
+
"description": "True: the API runs a declined request again on its fallback model (default: the option of the module, true)",
|
|
37490
|
+
"type": "boolean"
|
|
37491
|
+
},
|
|
37492
|
+
"tools": {
|
|
37493
|
+
"description": "The tools that the model can use. The output gives each tool_use block",
|
|
37494
|
+
"maxItems": 128,
|
|
37495
|
+
"type": "array",
|
|
37496
|
+
"items": {
|
|
37497
|
+
"type": "object",
|
|
37498
|
+
"properties": {
|
|
37499
|
+
"name": {
|
|
37500
|
+
"type": "string",
|
|
37501
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
37502
|
+
"description": "The name of the tool"
|
|
37503
|
+
},
|
|
37504
|
+
"description": {
|
|
37505
|
+
"description": "What the tool does and when the model uses it",
|
|
37506
|
+
"type": "string",
|
|
37507
|
+
"maxLength": 100000
|
|
37508
|
+
},
|
|
37509
|
+
"inputSchema": {
|
|
37510
|
+
"type": "object",
|
|
37511
|
+
"propertyNames": {
|
|
37512
|
+
"type": "string"
|
|
37513
|
+
},
|
|
37514
|
+
"additionalProperties": {},
|
|
37515
|
+
"description": "The JSON Schema of the input of the tool, with type object"
|
|
37516
|
+
},
|
|
37517
|
+
"strict": {
|
|
37518
|
+
"description": "True: the API makes each input agree with the schema (strict tool use)",
|
|
37519
|
+
"type": "boolean"
|
|
37520
|
+
}
|
|
37521
|
+
},
|
|
37522
|
+
"required": [
|
|
37523
|
+
"name",
|
|
37524
|
+
"inputSchema"
|
|
37525
|
+
]
|
|
37526
|
+
}
|
|
37527
|
+
},
|
|
37528
|
+
"toolChoice": {
|
|
37529
|
+
"oneOf": [
|
|
37530
|
+
{
|
|
37531
|
+
"type": "object",
|
|
37532
|
+
"properties": {
|
|
37533
|
+
"type": {
|
|
37534
|
+
"type": "string",
|
|
37535
|
+
"const": "auto"
|
|
37536
|
+
},
|
|
37537
|
+
"disableParallelToolUse": {
|
|
37538
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
37539
|
+
"type": "boolean"
|
|
37540
|
+
}
|
|
37541
|
+
},
|
|
37542
|
+
"required": [
|
|
37543
|
+
"type"
|
|
37544
|
+
]
|
|
37545
|
+
},
|
|
37546
|
+
{
|
|
37547
|
+
"type": "object",
|
|
37548
|
+
"properties": {
|
|
37549
|
+
"type": {
|
|
37550
|
+
"type": "string",
|
|
37551
|
+
"const": "any"
|
|
37552
|
+
},
|
|
37553
|
+
"disableParallelToolUse": {
|
|
37554
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
37555
|
+
"type": "boolean"
|
|
37556
|
+
}
|
|
37557
|
+
},
|
|
37558
|
+
"required": [
|
|
37559
|
+
"type"
|
|
37560
|
+
]
|
|
37561
|
+
},
|
|
37562
|
+
{
|
|
37563
|
+
"type": "object",
|
|
37564
|
+
"properties": {
|
|
37565
|
+
"type": {
|
|
37566
|
+
"type": "string",
|
|
37567
|
+
"const": "tool"
|
|
37568
|
+
},
|
|
37569
|
+
"name": {
|
|
37570
|
+
"type": "string",
|
|
37571
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
37572
|
+
"description": "The tool that the model uses"
|
|
37573
|
+
},
|
|
37574
|
+
"disableParallelToolUse": {
|
|
37575
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
37576
|
+
"type": "boolean"
|
|
37577
|
+
}
|
|
37578
|
+
},
|
|
37579
|
+
"required": [
|
|
37580
|
+
"type",
|
|
37581
|
+
"name"
|
|
37582
|
+
]
|
|
37583
|
+
},
|
|
37584
|
+
{
|
|
37585
|
+
"type": "object",
|
|
37586
|
+
"properties": {
|
|
37587
|
+
"type": {
|
|
37588
|
+
"type": "string",
|
|
37589
|
+
"const": "none"
|
|
37590
|
+
}
|
|
37591
|
+
},
|
|
37592
|
+
"required": [
|
|
37593
|
+
"type"
|
|
37594
|
+
]
|
|
37595
|
+
}
|
|
37596
|
+
],
|
|
37597
|
+
"description": "How the model uses the tools: auto (default), any, tool or none. Some models refuse any and tool"
|
|
37598
|
+
},
|
|
37599
|
+
"retries": {
|
|
37600
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)",
|
|
37601
|
+
"type": "integer",
|
|
37602
|
+
"minimum": 0,
|
|
37603
|
+
"maximum": 10
|
|
37604
|
+
}
|
|
37605
|
+
},
|
|
37606
|
+
"required": [
|
|
37607
|
+
"prompt"
|
|
37608
|
+
]
|
|
37609
|
+
},
|
|
37610
|
+
"resultFields": []
|
|
37611
|
+
},
|
|
37019
37612
|
{
|
|
37020
37613
|
"path": [
|
|
37021
37614
|
"notify",
|
|
@@ -39038,20 +39631,12 @@
|
|
|
39038
39631
|
},
|
|
39039
39632
|
{
|
|
39040
39633
|
"name": "timeZone",
|
|
39041
|
-
"type": "
|
|
39634
|
+
"type": "string",
|
|
39042
39635
|
"fieldType": {
|
|
39043
|
-
"kind": "
|
|
39044
|
-
"values": [
|
|
39045
|
-
"utc",
|
|
39046
|
-
"local"
|
|
39047
|
-
]
|
|
39636
|
+
"kind": "string"
|
|
39048
39637
|
},
|
|
39049
39638
|
"required": false,
|
|
39050
|
-
"description": "The time zone of the expression (default
|
|
39051
|
-
"enumValues": [
|
|
39052
|
-
"utc",
|
|
39053
|
-
"local"
|
|
39054
|
-
]
|
|
39639
|
+
"description": "The time zone of the expression: utc, local (default) or an IANA name such as Europe/Berlin"
|
|
39055
39640
|
},
|
|
39056
39641
|
{
|
|
39057
39642
|
"name": "replace",
|
|
@@ -39088,11 +39673,9 @@
|
|
|
39088
39673
|
},
|
|
39089
39674
|
"timeZone": {
|
|
39090
39675
|
"type": "string",
|
|
39091
|
-
"
|
|
39092
|
-
|
|
39093
|
-
|
|
39094
|
-
],
|
|
39095
|
-
"description": "The time zone of the expression (default local)"
|
|
39676
|
+
"minLength": 1,
|
|
39677
|
+
"maxLength": 100,
|
|
39678
|
+
"description": "The time zone of the expression: utc, local (default) or an IANA name such as Europe/Berlin"
|
|
39096
39679
|
},
|
|
39097
39680
|
"replace": {
|
|
39098
39681
|
"description": "True: replace a schedule of the same name (default false)",
|
|
@@ -39258,20 +39841,12 @@
|
|
|
39258
39841
|
},
|
|
39259
39842
|
{
|
|
39260
39843
|
"name": "timeZone",
|
|
39261
|
-
"type": "
|
|
39844
|
+
"type": "string",
|
|
39262
39845
|
"fieldType": {
|
|
39263
|
-
"kind": "
|
|
39264
|
-
"values": [
|
|
39265
|
-
"utc",
|
|
39266
|
-
"local"
|
|
39267
|
-
]
|
|
39846
|
+
"kind": "string"
|
|
39268
39847
|
},
|
|
39269
39848
|
"required": false,
|
|
39270
|
-
"description": "The time zone of the expression (default
|
|
39271
|
-
"enumValues": [
|
|
39272
|
-
"utc",
|
|
39273
|
-
"local"
|
|
39274
|
-
]
|
|
39849
|
+
"description": "The time zone of the expression: utc, local (default) or an IANA name such as Europe/Berlin"
|
|
39275
39850
|
}
|
|
39276
39851
|
],
|
|
39277
39852
|
"inputSchema": {
|
|
@@ -39296,11 +39871,9 @@
|
|
|
39296
39871
|
},
|
|
39297
39872
|
"timeZone": {
|
|
39298
39873
|
"type": "string",
|
|
39299
|
-
"
|
|
39300
|
-
|
|
39301
|
-
|
|
39302
|
-
],
|
|
39303
|
-
"description": "The time zone of the expression (default local)"
|
|
39874
|
+
"minLength": 1,
|
|
39875
|
+
"maxLength": 100,
|
|
39876
|
+
"description": "The time zone of the expression: utc, local (default) or an IANA name such as Europe/Berlin"
|
|
39304
39877
|
}
|
|
39305
39878
|
},
|
|
39306
39879
|
"required": [
|