@nemesis-oss/ollama-sdk 1.7.0 → 1.9.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 +168 -1
- package/README.md +181 -10
- package/dist/anthropic-5oYIRS6D.d.ts +1649 -0
- package/dist/anthropic-BIh45UXj.d.cts +1649 -0
- package/dist/{compose-DLStUfaF.d.ts → compose-DCVYMvOL.d.ts} +1 -1
- package/dist/{compose-DS-UWFx8.d.cts → compose-Dj6FdF2n.d.cts} +1 -1
- package/dist/generated-api.cjs +116 -9
- package/dist/generated-api.cjs.map +1 -1
- package/dist/generated-api.d.cts +321 -630
- package/dist/generated-api.d.ts +321 -630
- package/dist/generated-api.js +112 -10
- package/dist/generated-api.js.map +1 -1
- package/dist/generated-models-schemas.cjs +151 -3
- package/dist/generated-models-schemas.cjs.map +1 -1
- package/dist/generated-models-schemas.d.cts +228 -3
- package/dist/generated-models-schemas.d.ts +228 -3
- package/dist/generated-models-schemas.js +134 -4
- package/dist/generated-models-schemas.js.map +1 -1
- package/dist/generated-runtime.cjs +679 -60
- package/dist/generated-runtime.cjs.map +1 -1
- package/dist/generated-runtime.d.cts +22 -24
- package/dist/generated-runtime.d.ts +22 -24
- package/dist/generated-runtime.js +678 -61
- package/dist/generated-runtime.js.map +1 -1
- package/dist/index.cjs +2468 -132
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1666 -864
- package/dist/index.d.ts +1666 -864
- package/dist/index.js +2432 -133
- package/dist/index.js.map +1 -1
- package/dist/mcp/tools.json +306 -73
- package/dist/mcp-generated.cjs +138 -7
- package/dist/mcp-generated.cjs.map +1 -1
- package/dist/mcp-generated.d.cts +2 -2
- package/dist/mcp-generated.d.ts +2 -2
- package/dist/mcp-generated.js +138 -7
- package/dist/mcp-generated.js.map +1 -1
- package/dist/{runtime-qwD72cpn.d.ts → runtime-C3rfpkZw.d.ts} +286 -5
- package/dist/{runtime-bQ48I-RC.d.cts → runtime-D2W9TfCJ.d.cts} +286 -5
- package/dist/skills.cjs.map +1 -1
- package/dist/skills.d.cts +3 -3
- package/dist/skills.d.ts +3 -3
- package/dist/skills.js.map +1 -1
- package/dist/{types-5PAjLoCp.d.cts → types-DVcX_zMp.d.cts} +110 -10
- package/dist/{types-5PAjLoCp.d.ts → types-DVcX_zMp.d.ts} +110 -10
- package/package.json +9 -5
package/dist/mcp/tools.json
CHANGED
|
@@ -1,18 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_comment": "AUTO-GENERATED by `npm run contract:generate`. DO NOT EDIT. Source: contracts/ir/ollama.ir.json.",
|
|
3
3
|
"tools": [
|
|
4
|
+
{
|
|
5
|
+
"name": "ollama_balance",
|
|
6
|
+
"description": "Ollama GET /api/balance (native domain)\n\n- Cloud-only account endpoint — targets https://ollama.com, not the local Ollama server.\n- Requires an Ollama Cloud API key (set via OllamaClient credentials).\n- Takes no parameters. For usage history see the usage operation.\n- Rate limited to 10 requests/minute per user; 429 responses carry a Retry-After header.\n- Use OllamaClient.balance() — the generated NativeApi class does not expose this operation.",
|
|
7
|
+
"inputSchema": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {},
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"description": "GET /api/balance takes no request body."
|
|
12
|
+
},
|
|
13
|
+
"annotations": {
|
|
14
|
+
"title": "balance (Ollama)",
|
|
15
|
+
"readOnlyHint": true,
|
|
16
|
+
"destructiveHint": false,
|
|
17
|
+
"idempotentHint": true,
|
|
18
|
+
"openWorldHint": false
|
|
19
|
+
},
|
|
20
|
+
"_operationId": "balance"
|
|
21
|
+
},
|
|
4
22
|
{
|
|
5
23
|
"name": "ollama_blobs",
|
|
6
24
|
"description": "Ollama HEAD /api/blobs/{digest} (native domain)\n\n- HEAD-only endpoint for blob existence checks; declared in OpenAPI but not in the legacy parity manifest.",
|
|
7
25
|
"inputSchema": {
|
|
8
26
|
"type": "object",
|
|
9
27
|
"properties": {
|
|
10
|
-
"
|
|
28
|
+
"digest": {
|
|
11
29
|
"type": "string",
|
|
12
|
-
"description": "
|
|
30
|
+
"description": "path parameter: digest"
|
|
13
31
|
}
|
|
14
32
|
},
|
|
15
|
-
"
|
|
33
|
+
"required": ["digest"],
|
|
34
|
+
"additionalProperties": false,
|
|
35
|
+
"description": "HEAD /api/blobs/{digest} — 1 parameter."
|
|
16
36
|
},
|
|
17
37
|
"annotations": {
|
|
18
38
|
"title": "blobs (Ollama)",
|
|
@@ -388,6 +408,13 @@
|
|
|
388
408
|
"type": "string",
|
|
389
409
|
"description": "Minimum Ollama version required by the model"
|
|
390
410
|
},
|
|
411
|
+
"capabilities": {
|
|
412
|
+
"type": "array",
|
|
413
|
+
"items": {
|
|
414
|
+
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
"description": "Capabilities to add without removing inherited or inferred capabilities (e.g. `decision` for compatible decision models)"
|
|
417
|
+
},
|
|
391
418
|
"stream": {
|
|
392
419
|
"type": "boolean",
|
|
393
420
|
"default": true,
|
|
@@ -678,13 +705,9 @@
|
|
|
678
705
|
"description": "Ollama GET /api/ps (native domain)",
|
|
679
706
|
"inputSchema": {
|
|
680
707
|
"type": "object",
|
|
681
|
-
"properties": {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
"description": "Input for ps"
|
|
685
|
-
}
|
|
686
|
-
},
|
|
687
|
-
"additionalProperties": true
|
|
708
|
+
"properties": {},
|
|
709
|
+
"additionalProperties": false,
|
|
710
|
+
"description": "GET /api/ps takes no request body."
|
|
688
711
|
},
|
|
689
712
|
"annotations": {
|
|
690
713
|
"title": "ps (Ollama)",
|
|
@@ -785,16 +808,186 @@
|
|
|
785
808
|
},
|
|
786
809
|
{
|
|
787
810
|
"name": "ollama_systemOne",
|
|
788
|
-
"description": "Ollama POST /v1/systemone (native domain)\n\n- Local-only; Ollama Cloud rejects /v1/systemone.\n-
|
|
811
|
+
"description": "Ollama POST /v1/systemone (native domain)\n\n- Local-only; Ollama Cloud rejects /v1/systemone.\n- 64 KiB request limit without images, 32 MiB with images (includes JSON/base64 overhead).\n- No tools, no generation controls (temperature, top_p, etc.).\n- Vision is model-dependent: images are accepted by vision-weighted models (Clef/Clef Flash) but not by text-only models.\n- Experimental: behavioral surface may change between Ollama releases.",
|
|
789
812
|
"inputSchema": {
|
|
790
813
|
"type": "object",
|
|
814
|
+
"required": ["model", "state", "questions"],
|
|
791
815
|
"properties": {
|
|
792
|
-
"
|
|
816
|
+
"model": {
|
|
793
817
|
"type": "string",
|
|
794
|
-
"
|
|
818
|
+
"pattern": "\\S",
|
|
819
|
+
"description": "Local model trained for System One, such as nimble. Requires compatible GGUF weights and a scoring-capable runner; cloud and MLX/Safetensors models are not supported."
|
|
820
|
+
},
|
|
821
|
+
"state": {
|
|
822
|
+
"description": "A nonempty string, or an object or array serialized as JSON text. Not interpreted as chat messages or multimodal input.",
|
|
823
|
+
"oneOf": [
|
|
824
|
+
{
|
|
825
|
+
"type": "string",
|
|
826
|
+
"pattern": "\\S"
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"type": "object",
|
|
830
|
+
"additionalProperties": true
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"type": "array",
|
|
834
|
+
"items": {}
|
|
835
|
+
}
|
|
836
|
+
]
|
|
837
|
+
},
|
|
838
|
+
"images": {
|
|
839
|
+
"type": "array",
|
|
840
|
+
"description": "Base64-encoded images shared by all questions, in request order. Requires Clef or Clef Flash with vision weights. URLs and data URLs are not supported.",
|
|
841
|
+
"items": {
|
|
842
|
+
"type": "string",
|
|
843
|
+
"format": "byte"
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
"questions": {
|
|
847
|
+
"type": "object",
|
|
848
|
+
"description": "Named questions about the shared state. Answers are not passed to later questions.",
|
|
849
|
+
"minProperties": 1,
|
|
850
|
+
"maxProperties": 64,
|
|
851
|
+
"propertyNames": {
|
|
852
|
+
"pattern": "\\S"
|
|
853
|
+
},
|
|
854
|
+
"additionalProperties": {
|
|
855
|
+
"oneOf": [
|
|
856
|
+
{
|
|
857
|
+
"title": "Choice",
|
|
858
|
+
"type": "object",
|
|
859
|
+
"required": ["type", "instructions", "criteria"],
|
|
860
|
+
"properties": {
|
|
861
|
+
"type": {
|
|
862
|
+
"type": "string",
|
|
863
|
+
"enum": ["choice"]
|
|
864
|
+
},
|
|
865
|
+
"instructions": {
|
|
866
|
+
"description": "A nonempty string, or an object or array serialized as JSON text. Not interpreted as chat messages or multimodal input.",
|
|
867
|
+
"oneOf": [
|
|
868
|
+
{
|
|
869
|
+
"type": "string",
|
|
870
|
+
"pattern": "\\S"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"type": "object",
|
|
874
|
+
"additionalProperties": true
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"type": "array",
|
|
878
|
+
"items": {}
|
|
879
|
+
}
|
|
880
|
+
]
|
|
881
|
+
},
|
|
882
|
+
"criteria": {
|
|
883
|
+
"type": "object",
|
|
884
|
+
"description": "Option keys mapped to descriptions. A null description uses the key itself. Keys must not be blank; ties follow the model's option order.",
|
|
885
|
+
"minProperties": 2,
|
|
886
|
+
"maxProperties": 26,
|
|
887
|
+
"propertyNames": {
|
|
888
|
+
"pattern": "\\S"
|
|
889
|
+
},
|
|
890
|
+
"additionalProperties": {
|
|
891
|
+
"type": ["string", "null"]
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"title": "Noul",
|
|
898
|
+
"type": "object",
|
|
899
|
+
"required": ["type", "instructions"],
|
|
900
|
+
"properties": {
|
|
901
|
+
"type": {
|
|
902
|
+
"type": "string",
|
|
903
|
+
"enum": ["noul"]
|
|
904
|
+
},
|
|
905
|
+
"instructions": {
|
|
906
|
+
"description": "A nonempty string, or an object or array serialized as JSON text. Not interpreted as chat messages or multimodal input.",
|
|
907
|
+
"oneOf": [
|
|
908
|
+
{
|
|
909
|
+
"type": "string",
|
|
910
|
+
"pattern": "\\S"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"type": "object",
|
|
914
|
+
"additionalProperties": true
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"type": "array",
|
|
918
|
+
"items": {}
|
|
919
|
+
}
|
|
920
|
+
]
|
|
921
|
+
},
|
|
922
|
+
"criteria": {
|
|
923
|
+
"type": "object",
|
|
924
|
+
"description": "Optional descriptions for the two outcomes. Omitted entries use No and Yes.",
|
|
925
|
+
"properties": {
|
|
926
|
+
"false": {
|
|
927
|
+
"type": "string",
|
|
928
|
+
"default": "No"
|
|
929
|
+
},
|
|
930
|
+
"true": {
|
|
931
|
+
"type": "string",
|
|
932
|
+
"default": "Yes"
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
"additionalProperties": false
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"title": "Score",
|
|
941
|
+
"type": "object",
|
|
942
|
+
"required": ["type", "instructions", "criteria"],
|
|
943
|
+
"properties": {
|
|
944
|
+
"type": {
|
|
945
|
+
"type": "string",
|
|
946
|
+
"enum": ["score"]
|
|
947
|
+
},
|
|
948
|
+
"instructions": {
|
|
949
|
+
"description": "A nonempty string, or an object or array serialized as JSON text. Not interpreted as chat messages or multimodal input.",
|
|
950
|
+
"oneOf": [
|
|
951
|
+
{
|
|
952
|
+
"type": "string",
|
|
953
|
+
"pattern": "\\S"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"type": "object",
|
|
957
|
+
"additionalProperties": true
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"type": "array",
|
|
961
|
+
"items": {}
|
|
962
|
+
}
|
|
963
|
+
]
|
|
964
|
+
},
|
|
965
|
+
"criteria": {
|
|
966
|
+
"type": "array",
|
|
967
|
+
"description": "Descriptions ordered from the lowest score (index 0) to the highest. Defines a scale from 0 to the number of criteria minus 1.",
|
|
968
|
+
"minItems": 2,
|
|
969
|
+
"maxItems": 26,
|
|
970
|
+
"items": {
|
|
971
|
+
"type": "string"
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
]
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
"keep_alive": {
|
|
980
|
+
"oneOf": [
|
|
981
|
+
{
|
|
982
|
+
"type": "string"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"type": "number"
|
|
986
|
+
}
|
|
987
|
+
],
|
|
988
|
+
"description": "How long to keep the model loaded after the request, as a duration string (such as 5m) or seconds. Zero unloads after the request; a negative value keeps it loaded. Defaults to the server's keep-alive setting (5m unless configured otherwise)."
|
|
795
989
|
}
|
|
796
|
-
}
|
|
797
|
-
"additionalProperties": true
|
|
990
|
+
}
|
|
798
991
|
},
|
|
799
992
|
"annotations": {
|
|
800
993
|
"title": "systemOne (Ollama)",
|
|
@@ -810,13 +1003,9 @@
|
|
|
810
1003
|
"description": "Ollama GET /api/tags (native domain)",
|
|
811
1004
|
"inputSchema": {
|
|
812
1005
|
"type": "object",
|
|
813
|
-
"properties": {
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
"description": "Input for tags"
|
|
817
|
-
}
|
|
818
|
-
},
|
|
819
|
-
"additionalProperties": true
|
|
1006
|
+
"properties": {},
|
|
1007
|
+
"additionalProperties": false,
|
|
1008
|
+
"description": "GET /api/tags takes no request body."
|
|
820
1009
|
},
|
|
821
1010
|
"annotations": {
|
|
822
1011
|
"title": "tags (Ollama)",
|
|
@@ -827,18 +1016,32 @@
|
|
|
827
1016
|
},
|
|
828
1017
|
"_operationId": "tags"
|
|
829
1018
|
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "ollama_usage",
|
|
1021
|
+
"description": "Ollama GET /api/usage (native domain)\n\n- Cloud-only account endpoint — targets https://ollama.com, not the local Ollama server.\n- Requires an Ollama Cloud API key (set via OllamaClient credentials).\n- Query parameters (not modeled by the generated runtime): range = 24h | 7d | 30d (server default 7d), scope = self | team (server default self; team scope requires a team admin).\n- Rate limited to 10 requests/minute per user; 429 responses carry a Retry-After header.\n- Use OllamaClient.usage() — the generated NativeApi class does not expose this operation.",
|
|
1022
|
+
"inputSchema": {
|
|
1023
|
+
"type": "object",
|
|
1024
|
+
"properties": {},
|
|
1025
|
+
"additionalProperties": false,
|
|
1026
|
+
"description": "GET /api/usage takes no request body."
|
|
1027
|
+
},
|
|
1028
|
+
"annotations": {
|
|
1029
|
+
"title": "usage (Ollama)",
|
|
1030
|
+
"readOnlyHint": true,
|
|
1031
|
+
"destructiveHint": false,
|
|
1032
|
+
"idempotentHint": true,
|
|
1033
|
+
"openWorldHint": false
|
|
1034
|
+
},
|
|
1035
|
+
"_operationId": "usage"
|
|
1036
|
+
},
|
|
830
1037
|
{
|
|
831
1038
|
"name": "ollama_version",
|
|
832
1039
|
"description": "Ollama GET /api/version (native domain)",
|
|
833
1040
|
"inputSchema": {
|
|
834
1041
|
"type": "object",
|
|
835
|
-
"properties": {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
"description": "Input for version"
|
|
839
|
-
}
|
|
840
|
-
},
|
|
841
|
-
"additionalProperties": true
|
|
1042
|
+
"properties": {},
|
|
1043
|
+
"additionalProperties": false,
|
|
1044
|
+
"description": "GET /api/version takes no request body."
|
|
842
1045
|
},
|
|
843
1046
|
"annotations": {
|
|
844
1047
|
"title": "version (Ollama)",
|
|
@@ -850,17 +1053,65 @@
|
|
|
850
1053
|
"_operationId": "version"
|
|
851
1054
|
},
|
|
852
1055
|
{
|
|
853
|
-
"name": "
|
|
854
|
-
"description": "Ollama POST /
|
|
1056
|
+
"name": "ollama_webFetch",
|
|
1057
|
+
"description": "Ollama POST /api/web_fetch (native domain)\n\n- Cloud-only capability endpoint — targets https://ollama.com, not the local Ollama server.\n- Requires an Ollama Cloud API key (set via OllamaClient credentials).\n- Use OllamaClient.webFetch() — the generated NativeApi class does not expose this operation.",
|
|
855
1058
|
"inputSchema": {
|
|
856
1059
|
"type": "object",
|
|
1060
|
+
"required": ["url"],
|
|
857
1061
|
"properties": {
|
|
858
|
-
"
|
|
1062
|
+
"url": {
|
|
859
1063
|
"type": "string",
|
|
860
|
-
"
|
|
1064
|
+
"format": "uri",
|
|
1065
|
+
"description": "The URL to fetch"
|
|
861
1066
|
}
|
|
862
|
-
}
|
|
863
|
-
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"annotations": {
|
|
1070
|
+
"title": "webFetch (Ollama)",
|
|
1071
|
+
"readOnlyHint": false,
|
|
1072
|
+
"destructiveHint": false,
|
|
1073
|
+
"idempotentHint": false,
|
|
1074
|
+
"openWorldHint": false
|
|
1075
|
+
},
|
|
1076
|
+
"_operationId": "webFetch"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "ollama_webSearch",
|
|
1080
|
+
"description": "Ollama POST /api/web_search (native domain)\n\n- Cloud-only capability endpoint — targets https://ollama.com, not the local Ollama server.\n- Requires an Ollama Cloud API key (set via OllamaClient credentials).\n- Use OllamaClient.webSearch() — the generated NativeApi class does not expose this operation.",
|
|
1081
|
+
"inputSchema": {
|
|
1082
|
+
"type": "object",
|
|
1083
|
+
"required": ["query"],
|
|
1084
|
+
"properties": {
|
|
1085
|
+
"query": {
|
|
1086
|
+
"type": "string",
|
|
1087
|
+
"description": "Search query string"
|
|
1088
|
+
},
|
|
1089
|
+
"max_results": {
|
|
1090
|
+
"type": "integer",
|
|
1091
|
+
"minimum": 1,
|
|
1092
|
+
"maximum": 10,
|
|
1093
|
+
"default": 5,
|
|
1094
|
+
"description": "Maximum number of results to return"
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
"annotations": {
|
|
1099
|
+
"title": "webSearch (Ollama)",
|
|
1100
|
+
"readOnlyHint": false,
|
|
1101
|
+
"destructiveHint": false,
|
|
1102
|
+
"idempotentHint": false,
|
|
1103
|
+
"openWorldHint": false
|
|
1104
|
+
},
|
|
1105
|
+
"_operationId": "webSearch"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"name": "ollama_openaiChatCompletions",
|
|
1109
|
+
"description": "Ollama POST /v1/chat/completions (openai domain)\n\n- Ollama exposes a subset of the OpenAI Chat Completions request fields; see docs/upstream/ollama-openai-compatibility.mdx.",
|
|
1110
|
+
"inputSchema": {
|
|
1111
|
+
"type": "object",
|
|
1112
|
+
"properties": {},
|
|
1113
|
+
"additionalProperties": false,
|
|
1114
|
+
"description": "POST /v1/chat/completions takes no request body."
|
|
864
1115
|
},
|
|
865
1116
|
"annotations": {
|
|
866
1117
|
"title": "openaiChatCompletions (Ollama)",
|
|
@@ -876,13 +1127,9 @@
|
|
|
876
1127
|
"description": "Ollama POST /v1/completions (openai domain)",
|
|
877
1128
|
"inputSchema": {
|
|
878
1129
|
"type": "object",
|
|
879
|
-
"properties": {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
"description": "Input for openaiCompletions"
|
|
883
|
-
}
|
|
884
|
-
},
|
|
885
|
-
"additionalProperties": true
|
|
1130
|
+
"properties": {},
|
|
1131
|
+
"additionalProperties": false,
|
|
1132
|
+
"description": "POST /v1/completions takes no request body."
|
|
886
1133
|
},
|
|
887
1134
|
"annotations": {
|
|
888
1135
|
"title": "openaiCompletions (Ollama)",
|
|
@@ -898,13 +1145,9 @@
|
|
|
898
1145
|
"description": "Ollama POST /v1/embeddings (openai domain)",
|
|
899
1146
|
"inputSchema": {
|
|
900
1147
|
"type": "object",
|
|
901
|
-
"properties": {
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
"description": "Input for openaiEmbeddings"
|
|
905
|
-
}
|
|
906
|
-
},
|
|
907
|
-
"additionalProperties": true
|
|
1148
|
+
"properties": {},
|
|
1149
|
+
"additionalProperties": false,
|
|
1150
|
+
"description": "POST /v1/embeddings takes no request body."
|
|
908
1151
|
},
|
|
909
1152
|
"annotations": {
|
|
910
1153
|
"title": "openaiEmbeddings (Ollama)",
|
|
@@ -920,13 +1163,9 @@
|
|
|
920
1163
|
"description": "Ollama GET /v1/models (openai domain)",
|
|
921
1164
|
"inputSchema": {
|
|
922
1165
|
"type": "object",
|
|
923
|
-
"properties": {
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
"description": "Input for openaiModels"
|
|
927
|
-
}
|
|
928
|
-
},
|
|
929
|
-
"additionalProperties": true
|
|
1166
|
+
"properties": {},
|
|
1167
|
+
"additionalProperties": false,
|
|
1168
|
+
"description": "GET /v1/models takes no request body."
|
|
930
1169
|
},
|
|
931
1170
|
"annotations": {
|
|
932
1171
|
"title": "openaiModels (Ollama)",
|
|
@@ -943,12 +1182,14 @@
|
|
|
943
1182
|
"inputSchema": {
|
|
944
1183
|
"type": "object",
|
|
945
1184
|
"properties": {
|
|
946
|
-
"
|
|
1185
|
+
"model": {
|
|
947
1186
|
"type": "string",
|
|
948
|
-
"description": "
|
|
1187
|
+
"description": "path parameter: model"
|
|
949
1188
|
}
|
|
950
1189
|
},
|
|
951
|
-
"
|
|
1190
|
+
"required": ["model"],
|
|
1191
|
+
"additionalProperties": false,
|
|
1192
|
+
"description": "GET /v1/models/{model} — 1 parameter."
|
|
952
1193
|
},
|
|
953
1194
|
"annotations": {
|
|
954
1195
|
"title": "openaiModelsGetOne (Ollama)",
|
|
@@ -964,13 +1205,9 @@
|
|
|
964
1205
|
"description": "Ollama POST /v1/responses (openai domain)\n\n- Ollama implements a subset of the OpenAI Responses API; previous_response_id and conversation are explicitly unsupported.",
|
|
965
1206
|
"inputSchema": {
|
|
966
1207
|
"type": "object",
|
|
967
|
-
"properties": {
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
"description": "Input for openaiResponses"
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
|
-
"additionalProperties": true
|
|
1208
|
+
"properties": {},
|
|
1209
|
+
"additionalProperties": false,
|
|
1210
|
+
"description": "POST /v1/responses takes no request body."
|
|
974
1211
|
},
|
|
975
1212
|
"annotations": {
|
|
976
1213
|
"title": "openaiResponses (Ollama)",
|
|
@@ -986,13 +1223,9 @@
|
|
|
986
1223
|
"description": "Ollama POST /v1/messages (anthropic domain)\n\n- tool_choice and metadata are explicitly unsupported by Ollama's Anthropic compat layer.\n- Nested cache_control fields under messages[].content[].cache_control are unsupported.",
|
|
987
1224
|
"inputSchema": {
|
|
988
1225
|
"type": "object",
|
|
989
|
-
"properties": {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
"description": "Input for anthropicMessages"
|
|
993
|
-
}
|
|
994
|
-
},
|
|
995
|
-
"additionalProperties": true
|
|
1226
|
+
"properties": {},
|
|
1227
|
+
"additionalProperties": false,
|
|
1228
|
+
"description": "POST /v1/messages takes no request body."
|
|
996
1229
|
},
|
|
997
1230
|
"annotations": {
|
|
998
1231
|
"title": "anthropicMessages (Ollama)",
|