@breign/client 1.0.202 → 1.0.204
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/dist/apis/ConversationsApi.d.ts +13 -0
- package/dist/apis/ConversationsApi.js +28 -0
- package/dist/apis/ToolsApi.d.ts +43 -1
- package/dist/apis/ToolsApi.js +105 -0
- package/dist/models/AgentToolUio.d.ts +7 -0
- package/dist/models/AgentToolUio.js +3 -0
- package/dist/models/ToolCreateRequestUio.d.ts +8 -1
- package/dist/models/ToolCreateRequestUio.js +3 -0
- package/dist/models/ToolOpenApiCreateUio.d.ts +60 -0
- package/dist/models/ToolOpenApiCreateUio.js +62 -0
- package/dist/models/ToolOpenApiDefinitionInputUio.d.ts +38 -0
- package/dist/models/ToolOpenApiDefinitionInputUio.js +50 -0
- package/dist/models/ToolOpenApiDetectedAuthUio.d.ts +55 -0
- package/dist/models/ToolOpenApiDetectedAuthUio.js +65 -0
- package/dist/models/ToolOpenApiInfoUio.d.ts +44 -0
- package/dist/models/ToolOpenApiInfoUio.js +58 -0
- package/dist/models/ToolOpenApiOAuth2FlowUio.d.ts +50 -0
- package/dist/models/ToolOpenApiOAuth2FlowUio.js +60 -0
- package/dist/models/ToolOpenApiOperationChangeUio.d.ts +38 -0
- package/dist/models/ToolOpenApiOperationChangeUio.js +54 -0
- package/dist/models/ToolOpenApiOperationUio.d.ts +117 -0
- package/dist/models/ToolOpenApiOperationUio.js +102 -0
- package/dist/models/ToolOpenApiPreviewResponseUio.d.ts +71 -0
- package/dist/models/ToolOpenApiPreviewResponseUio.js +77 -0
- package/dist/models/ToolOpenApiReimportRequestUio.d.ts +44 -0
- package/dist/models/ToolOpenApiReimportRequestUio.js +52 -0
- package/dist/models/ToolOpenApiReimportResponseUio.d.ts +70 -0
- package/dist/models/ToolOpenApiReimportResponseUio.js +74 -0
- package/dist/models/ToolOpenApiSourceUio.d.ts +46 -0
- package/dist/models/ToolOpenApiSourceUio.js +60 -0
- package/dist/models/ToolOpenApiUio.d.ts +94 -0
- package/dist/models/ToolOpenApiUio.js +88 -0
- package/dist/models/ToolSecureUio.d.ts +9 -1
- package/dist/models/ToolSecureUio.js +5 -1
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/dist/openapi.json +531 -3
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -729,6 +729,18 @@ export * from './ToolCallUio';
|
|
|
729
729
|
export * from './ToolCallsResponseUio';
|
|
730
730
|
export * from './ToolConnectionStatusResponseUio';
|
|
731
731
|
export * from './ToolCreateRequestUio';
|
|
732
|
+
export * from './ToolOpenApiCreateUio';
|
|
733
|
+
export * from './ToolOpenApiDefinitionInputUio';
|
|
734
|
+
export * from './ToolOpenApiDetectedAuthUio';
|
|
735
|
+
export * from './ToolOpenApiInfoUio';
|
|
736
|
+
export * from './ToolOpenApiOAuth2FlowUio';
|
|
737
|
+
export * from './ToolOpenApiOperationChangeUio';
|
|
738
|
+
export * from './ToolOpenApiOperationUio';
|
|
739
|
+
export * from './ToolOpenApiPreviewResponseUio';
|
|
740
|
+
export * from './ToolOpenApiReimportRequestUio';
|
|
741
|
+
export * from './ToolOpenApiReimportResponseUio';
|
|
742
|
+
export * from './ToolOpenApiSourceUio';
|
|
743
|
+
export * from './ToolOpenApiUio';
|
|
732
744
|
export * from './ToolPresetCreateRequestUio';
|
|
733
745
|
export * from './ToolPresetDeleteAllResponseUio';
|
|
734
746
|
export * from './ToolPresetImportItemUio';
|
package/dist/models/index.js
CHANGED
|
@@ -747,6 +747,18 @@ __exportStar(require("./ToolCallUio"), exports);
|
|
|
747
747
|
__exportStar(require("./ToolCallsResponseUio"), exports);
|
|
748
748
|
__exportStar(require("./ToolConnectionStatusResponseUio"), exports);
|
|
749
749
|
__exportStar(require("./ToolCreateRequestUio"), exports);
|
|
750
|
+
__exportStar(require("./ToolOpenApiCreateUio"), exports);
|
|
751
|
+
__exportStar(require("./ToolOpenApiDefinitionInputUio"), exports);
|
|
752
|
+
__exportStar(require("./ToolOpenApiDetectedAuthUio"), exports);
|
|
753
|
+
__exportStar(require("./ToolOpenApiInfoUio"), exports);
|
|
754
|
+
__exportStar(require("./ToolOpenApiOAuth2FlowUio"), exports);
|
|
755
|
+
__exportStar(require("./ToolOpenApiOperationChangeUio"), exports);
|
|
756
|
+
__exportStar(require("./ToolOpenApiOperationUio"), exports);
|
|
757
|
+
__exportStar(require("./ToolOpenApiPreviewResponseUio"), exports);
|
|
758
|
+
__exportStar(require("./ToolOpenApiReimportRequestUio"), exports);
|
|
759
|
+
__exportStar(require("./ToolOpenApiReimportResponseUio"), exports);
|
|
760
|
+
__exportStar(require("./ToolOpenApiSourceUio"), exports);
|
|
761
|
+
__exportStar(require("./ToolOpenApiUio"), exports);
|
|
750
762
|
__exportStar(require("./ToolPresetCreateRequestUio"), exports);
|
|
751
763
|
__exportStar(require("./ToolPresetDeleteAllResponseUio"), exports);
|
|
752
764
|
__exportStar(require("./ToolPresetImportItemUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -13818,6 +13818,146 @@
|
|
|
13818
13818
|
"tags" : [ "tools" ]
|
|
13819
13819
|
}
|
|
13820
13820
|
},
|
|
13821
|
+
"/tools/openapi/preview" : {
|
|
13822
|
+
"post" : {
|
|
13823
|
+
"description" : "Parses an OpenAPI 3.0 or 3.1 definition given by URL or as JSON/YAML text, and returns one\naction per route and HTTP verb, named after its operationId. Nothing is saved. Swagger 2.0\nand external `$ref` are refused.\n",
|
|
13824
|
+
"operationId" : "previewOpenApiTool",
|
|
13825
|
+
"parameters" : [ {
|
|
13826
|
+
"in" : "query",
|
|
13827
|
+
"name" : "organizationId",
|
|
13828
|
+
"required" : true,
|
|
13829
|
+
"schema" : {
|
|
13830
|
+
"type" : "string"
|
|
13831
|
+
}
|
|
13832
|
+
} ],
|
|
13833
|
+
"requestBody" : {
|
|
13834
|
+
"content" : {
|
|
13835
|
+
"application/json" : {
|
|
13836
|
+
"schema" : {
|
|
13837
|
+
"$ref" : "#/components/schemas/ToolOpenApiDefinitionInput"
|
|
13838
|
+
}
|
|
13839
|
+
}
|
|
13840
|
+
},
|
|
13841
|
+
"required" : true
|
|
13842
|
+
},
|
|
13843
|
+
"responses" : {
|
|
13844
|
+
"200" : {
|
|
13845
|
+
"content" : {
|
|
13846
|
+
"application/json" : {
|
|
13847
|
+
"schema" : {
|
|
13848
|
+
"$ref" : "#/components/schemas/ToolOpenApiPreviewResponse"
|
|
13849
|
+
}
|
|
13850
|
+
}
|
|
13851
|
+
},
|
|
13852
|
+
"description" : "The actions the definition would create"
|
|
13853
|
+
},
|
|
13854
|
+
"400" : {
|
|
13855
|
+
"description" : "Invalid"
|
|
13856
|
+
},
|
|
13857
|
+
"403" : {
|
|
13858
|
+
"description" : "Forbidden"
|
|
13859
|
+
}
|
|
13860
|
+
},
|
|
13861
|
+
"summary" : "Read an OpenAPI definition and list the actions it would create",
|
|
13862
|
+
"tags" : [ "tools" ]
|
|
13863
|
+
}
|
|
13864
|
+
},
|
|
13865
|
+
"/tools/{toolId}/openapi/reimport" : {
|
|
13866
|
+
"post" : {
|
|
13867
|
+
"description" : "Compares the new definition with the stored one. With `dryRun`, returns the differences only.\nOtherwise saves the new actions: removed ones leave the allowed list, new ones are not allowed.\n",
|
|
13868
|
+
"operationId" : "reimportOpenApiTool",
|
|
13869
|
+
"parameters" : [ {
|
|
13870
|
+
"description" : "Tool identifier",
|
|
13871
|
+
"in" : "path",
|
|
13872
|
+
"name" : "toolId",
|
|
13873
|
+
"required" : true,
|
|
13874
|
+
"schema" : {
|
|
13875
|
+
"type" : "string"
|
|
13876
|
+
}
|
|
13877
|
+
} ],
|
|
13878
|
+
"requestBody" : {
|
|
13879
|
+
"content" : {
|
|
13880
|
+
"application/json" : {
|
|
13881
|
+
"schema" : {
|
|
13882
|
+
"$ref" : "#/components/schemas/ToolOpenApiReimportRequest"
|
|
13883
|
+
}
|
|
13884
|
+
}
|
|
13885
|
+
},
|
|
13886
|
+
"required" : true
|
|
13887
|
+
},
|
|
13888
|
+
"responses" : {
|
|
13889
|
+
"200" : {
|
|
13890
|
+
"content" : {
|
|
13891
|
+
"application/json" : {
|
|
13892
|
+
"schema" : {
|
|
13893
|
+
"$ref" : "#/components/schemas/ToolOpenApiReimportResponse"
|
|
13894
|
+
}
|
|
13895
|
+
}
|
|
13896
|
+
},
|
|
13897
|
+
"description" : "Differences, applied unless dryRun"
|
|
13898
|
+
},
|
|
13899
|
+
"400" : {
|
|
13900
|
+
"description" : "Not an openapi tool"
|
|
13901
|
+
},
|
|
13902
|
+
"403" : {
|
|
13903
|
+
"description" : "Forbidden"
|
|
13904
|
+
},
|
|
13905
|
+
"404" : {
|
|
13906
|
+
"description" : "Tool not found"
|
|
13907
|
+
}
|
|
13908
|
+
},
|
|
13909
|
+
"summary" : "Import the OpenAPI definition of an openapi tool again",
|
|
13910
|
+
"tags" : [ "tools" ]
|
|
13911
|
+
}
|
|
13912
|
+
},
|
|
13913
|
+
"/tools/{toolId}/openapi/allowed-tools" : {
|
|
13914
|
+
"put" : {
|
|
13915
|
+
"description" : "Each name must be an action of the imported definition. Same body as the MCP route.\n",
|
|
13916
|
+
"operationId" : "updateOpenApiAllowedTools",
|
|
13917
|
+
"parameters" : [ {
|
|
13918
|
+
"description" : "Tool identifier",
|
|
13919
|
+
"in" : "path",
|
|
13920
|
+
"name" : "toolId",
|
|
13921
|
+
"required" : true,
|
|
13922
|
+
"schema" : {
|
|
13923
|
+
"type" : "string"
|
|
13924
|
+
}
|
|
13925
|
+
} ],
|
|
13926
|
+
"requestBody" : {
|
|
13927
|
+
"content" : {
|
|
13928
|
+
"application/json" : {
|
|
13929
|
+
"schema" : {
|
|
13930
|
+
"$ref" : "#/components/schemas/ToolAllowedToolsRequest"
|
|
13931
|
+
}
|
|
13932
|
+
}
|
|
13933
|
+
},
|
|
13934
|
+
"required" : true
|
|
13935
|
+
},
|
|
13936
|
+
"responses" : {
|
|
13937
|
+
"200" : {
|
|
13938
|
+
"content" : {
|
|
13939
|
+
"application/json" : {
|
|
13940
|
+
"schema" : {
|
|
13941
|
+
"$ref" : "#/components/schemas/ToolAllowedToolsResponse"
|
|
13942
|
+
}
|
|
13943
|
+
}
|
|
13944
|
+
},
|
|
13945
|
+
"description" : "Updated allowed actions"
|
|
13946
|
+
},
|
|
13947
|
+
"400" : {
|
|
13948
|
+
"description" : "Not an openapi tool"
|
|
13949
|
+
},
|
|
13950
|
+
"403" : {
|
|
13951
|
+
"description" : "Forbidden"
|
|
13952
|
+
},
|
|
13953
|
+
"404" : {
|
|
13954
|
+
"description" : "Tool not found"
|
|
13955
|
+
}
|
|
13956
|
+
},
|
|
13957
|
+
"summary" : "Replace the list of allowed actions of an openapi tool",
|
|
13958
|
+
"tags" : [ "tools" ]
|
|
13959
|
+
}
|
|
13960
|
+
},
|
|
13821
13961
|
"/skills" : {
|
|
13822
13962
|
"get" : {
|
|
13823
13963
|
"description" : "Returns a paginated list of skills scoped to an organization",
|
|
@@ -15714,6 +15854,40 @@
|
|
|
15714
15854
|
"tags" : [ "prompts" ]
|
|
15715
15855
|
}
|
|
15716
15856
|
},
|
|
15857
|
+
"/conversations/{conversationId}/permanent" : {
|
|
15858
|
+
"delete" : {
|
|
15859
|
+
"description" : "Permanently deletes a conversation, archived or not: its messages are removed from the database and its attachments from the file storage. Unlike `DELETE /conversations/{conversationId}`, which only archives it, this cannot be undone.\n",
|
|
15860
|
+
"operationId" : "deleteConversationById",
|
|
15861
|
+
"parameters" : [ {
|
|
15862
|
+
"description" : "The ID of the conversation",
|
|
15863
|
+
"in" : "path",
|
|
15864
|
+
"name" : "conversationId",
|
|
15865
|
+
"required" : true,
|
|
15866
|
+
"schema" : {
|
|
15867
|
+
"type" : "string"
|
|
15868
|
+
}
|
|
15869
|
+
} ],
|
|
15870
|
+
"responses" : {
|
|
15871
|
+
"204" : {
|
|
15872
|
+
"description" : "Conversation permanently deleted."
|
|
15873
|
+
},
|
|
15874
|
+
"401" : {
|
|
15875
|
+
"description" : "Unauthorized"
|
|
15876
|
+
},
|
|
15877
|
+
"403" : {
|
|
15878
|
+
"description" : "Forbidden - User cannot delete this conversation"
|
|
15879
|
+
},
|
|
15880
|
+
"404" : {
|
|
15881
|
+
"description" : "Conversation not found"
|
|
15882
|
+
},
|
|
15883
|
+
"500" : {
|
|
15884
|
+
"description" : "Server error"
|
|
15885
|
+
}
|
|
15886
|
+
},
|
|
15887
|
+
"summary" : "Permanently delete a conversation.",
|
|
15888
|
+
"tags" : [ "conversations" ]
|
|
15889
|
+
}
|
|
15890
|
+
},
|
|
15717
15891
|
"/conversations/{conversationId}/prompts" : {
|
|
15718
15892
|
"post" : {
|
|
15719
15893
|
"description" : "Adds a new message to an existing conversation and gets the AI response",
|
|
@@ -24926,6 +25100,9 @@
|
|
|
24926
25100
|
"additionalProperties" : true,
|
|
24927
25101
|
"type" : "object"
|
|
24928
25102
|
},
|
|
25103
|
+
"openapi" : {
|
|
25104
|
+
"$ref" : "#/components/schemas/ToolOpenApi"
|
|
25105
|
+
},
|
|
24929
25106
|
"restricted" : {
|
|
24930
25107
|
"type" : "boolean"
|
|
24931
25108
|
},
|
|
@@ -31470,7 +31647,7 @@
|
|
|
31470
31647
|
"type" : "string"
|
|
31471
31648
|
},
|
|
31472
31649
|
"type" : {
|
|
31473
|
-
"description" : "e.g. tool_api | mcp",
|
|
31650
|
+
"description" : "e.g. tool_api | mcp | openapi",
|
|
31474
31651
|
"type" : "string"
|
|
31475
31652
|
},
|
|
31476
31653
|
"scope" : {
|
|
@@ -31489,12 +31666,43 @@
|
|
|
31489
31666
|
"mcp" : {
|
|
31490
31667
|
"additionalProperties" : true,
|
|
31491
31668
|
"type" : "object"
|
|
31669
|
+
},
|
|
31670
|
+
"openapi" : {
|
|
31671
|
+
"$ref" : "#/components/schemas/ToolOpenApiCreate"
|
|
31492
31672
|
}
|
|
31493
31673
|
},
|
|
31494
31674
|
"required" : [ "configuration", "name", "orgId", "type" ],
|
|
31495
31675
|
"title" : "ToolCreateRequest",
|
|
31496
31676
|
"type" : "object"
|
|
31497
31677
|
},
|
|
31678
|
+
"ToolOpenApiCreate" : {
|
|
31679
|
+
"additionalProperties" : false,
|
|
31680
|
+
"description" : "The definition of a new `openapi` tool. The server parses it again: the actions are never taken from the client.",
|
|
31681
|
+
"properties" : {
|
|
31682
|
+
"url" : {
|
|
31683
|
+
"type" : "string"
|
|
31684
|
+
},
|
|
31685
|
+
"content" : {
|
|
31686
|
+
"type" : "string"
|
|
31687
|
+
},
|
|
31688
|
+
"allowedTools" : {
|
|
31689
|
+
"items" : {
|
|
31690
|
+
"type" : "string"
|
|
31691
|
+
},
|
|
31692
|
+
"type" : "array",
|
|
31693
|
+
"uniqueItems" : true
|
|
31694
|
+
},
|
|
31695
|
+
"approvalModes" : {
|
|
31696
|
+
"additionalProperties" : {
|
|
31697
|
+
"enum" : [ "always", "never" ],
|
|
31698
|
+
"type" : "string"
|
|
31699
|
+
},
|
|
31700
|
+
"type" : "object"
|
|
31701
|
+
}
|
|
31702
|
+
},
|
|
31703
|
+
"title" : "ToolOpenApiCreate",
|
|
31704
|
+
"type" : "object"
|
|
31705
|
+
},
|
|
31498
31706
|
"TTSRequest" : {
|
|
31499
31707
|
"properties" : {
|
|
31500
31708
|
"text" : {
|
|
@@ -31542,8 +31750,8 @@
|
|
|
31542
31750
|
"type" : "string"
|
|
31543
31751
|
},
|
|
31544
31752
|
"type" : {
|
|
31545
|
-
"description" : "tool_api | mcp",
|
|
31546
|
-
"enum" : [ "tool_api", "mcp" ],
|
|
31753
|
+
"description" : "tool_api | mcp | openapi",
|
|
31754
|
+
"enum" : [ "tool_api", "mcp", "openapi" ],
|
|
31547
31755
|
"type" : "string"
|
|
31548
31756
|
},
|
|
31549
31757
|
"scope" : {
|
|
@@ -31560,6 +31768,13 @@
|
|
|
31560
31768
|
"mcp" : {
|
|
31561
31769
|
"$ref" : "#/components/schemas/ToolSecure_mcp"
|
|
31562
31770
|
},
|
|
31771
|
+
"openapi" : {
|
|
31772
|
+
"allOf" : [ {
|
|
31773
|
+
"$ref" : "#/components/schemas/ToolOpenApi"
|
|
31774
|
+
} ],
|
|
31775
|
+
"description" : "Only for `openapi` tools — the actions generated from the definition.",
|
|
31776
|
+
"nullable" : true
|
|
31777
|
+
},
|
|
31563
31778
|
"isSetup" : {
|
|
31564
31779
|
"description" : "Indicates if the tool has completed its setup (for oauth2 tools).",
|
|
31565
31780
|
"type" : "boolean"
|
|
@@ -31569,6 +31784,166 @@
|
|
|
31569
31784
|
"title" : "ToolSecure",
|
|
31570
31785
|
"type" : "object"
|
|
31571
31786
|
},
|
|
31787
|
+
"ToolOpenApi" : {
|
|
31788
|
+
"additionalProperties" : false,
|
|
31789
|
+
"properties" : {
|
|
31790
|
+
"source" : {
|
|
31791
|
+
"$ref" : "#/components/schemas/ToolOpenApiSource"
|
|
31792
|
+
},
|
|
31793
|
+
"info" : {
|
|
31794
|
+
"$ref" : "#/components/schemas/ToolOpenApiInfo"
|
|
31795
|
+
},
|
|
31796
|
+
"servers" : {
|
|
31797
|
+
"items" : {
|
|
31798
|
+
"type" : "string"
|
|
31799
|
+
},
|
|
31800
|
+
"type" : "array"
|
|
31801
|
+
},
|
|
31802
|
+
"importedAt" : {
|
|
31803
|
+
"type" : "string"
|
|
31804
|
+
},
|
|
31805
|
+
"specHash" : {
|
|
31806
|
+
"type" : "string"
|
|
31807
|
+
},
|
|
31808
|
+
"operations" : {
|
|
31809
|
+
"items" : {
|
|
31810
|
+
"$ref" : "#/components/schemas/ToolOpenApiOperation"
|
|
31811
|
+
},
|
|
31812
|
+
"type" : "array"
|
|
31813
|
+
},
|
|
31814
|
+
"oauth2" : {
|
|
31815
|
+
"$ref" : "#/components/schemas/ToolOpenApiOAuth2Flow"
|
|
31816
|
+
},
|
|
31817
|
+
"allowedTools" : {
|
|
31818
|
+
"items" : {
|
|
31819
|
+
"type" : "string"
|
|
31820
|
+
},
|
|
31821
|
+
"type" : "array"
|
|
31822
|
+
},
|
|
31823
|
+
"approvalModes" : {
|
|
31824
|
+
"additionalProperties" : {
|
|
31825
|
+
"enum" : [ "always", "never" ],
|
|
31826
|
+
"type" : "string"
|
|
31827
|
+
},
|
|
31828
|
+
"description" : "Same meaning as `mcp.approvalModes`. Absent — reads run silently, writes ask.",
|
|
31829
|
+
"type" : "object"
|
|
31830
|
+
}
|
|
31831
|
+
},
|
|
31832
|
+
"required" : [ "importedAt", "info", "operations", "servers", "source", "specHash" ],
|
|
31833
|
+
"title" : "ToolOpenApi",
|
|
31834
|
+
"type" : "object"
|
|
31835
|
+
},
|
|
31836
|
+
"ToolOpenApiSource" : {
|
|
31837
|
+
"additionalProperties" : false,
|
|
31838
|
+
"properties" : {
|
|
31839
|
+
"kind" : {
|
|
31840
|
+
"enum" : [ "url", "inline" ],
|
|
31841
|
+
"type" : "string"
|
|
31842
|
+
},
|
|
31843
|
+
"url" : {
|
|
31844
|
+
"type" : "string"
|
|
31845
|
+
}
|
|
31846
|
+
},
|
|
31847
|
+
"required" : [ "kind" ],
|
|
31848
|
+
"title" : "ToolOpenApiSource",
|
|
31849
|
+
"type" : "object"
|
|
31850
|
+
},
|
|
31851
|
+
"ToolOpenApiInfo" : {
|
|
31852
|
+
"additionalProperties" : false,
|
|
31853
|
+
"properties" : {
|
|
31854
|
+
"title" : {
|
|
31855
|
+
"type" : "string"
|
|
31856
|
+
},
|
|
31857
|
+
"version" : {
|
|
31858
|
+
"type" : "string"
|
|
31859
|
+
},
|
|
31860
|
+
"openapiVersion" : {
|
|
31861
|
+
"type" : "string"
|
|
31862
|
+
}
|
|
31863
|
+
},
|
|
31864
|
+
"required" : [ "openapiVersion", "title", "version" ],
|
|
31865
|
+
"title" : "ToolOpenApiInfo",
|
|
31866
|
+
"type" : "object"
|
|
31867
|
+
},
|
|
31868
|
+
"ToolOpenApiOperation" : {
|
|
31869
|
+
"additionalProperties" : false,
|
|
31870
|
+
"description" : "One action of an `openapi` tool — one route and HTTP verb of the definition.",
|
|
31871
|
+
"properties" : {
|
|
31872
|
+
"name" : {
|
|
31873
|
+
"description" : "Action name seen by the model — the operationId, reduced to `^[a-zA-Z0-9_-]{1,64}$`.",
|
|
31874
|
+
"type" : "string"
|
|
31875
|
+
},
|
|
31876
|
+
"operationId" : {
|
|
31877
|
+
"description" : "The operationId as written in the definition, when there is one.",
|
|
31878
|
+
"type" : "string"
|
|
31879
|
+
},
|
|
31880
|
+
"method" : {
|
|
31881
|
+
"enum" : [ "GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS" ],
|
|
31882
|
+
"type" : "string"
|
|
31883
|
+
},
|
|
31884
|
+
"path" : {
|
|
31885
|
+
"example" : "/issues/{issue_ref}",
|
|
31886
|
+
"type" : "string"
|
|
31887
|
+
},
|
|
31888
|
+
"description" : {
|
|
31889
|
+
"type" : "string"
|
|
31890
|
+
},
|
|
31891
|
+
"inputSchema" : {
|
|
31892
|
+
"additionalProperties" : true,
|
|
31893
|
+
"description" : "One JSON Schema object holding the path, query and header parameters, and `body`.",
|
|
31894
|
+
"type" : "object"
|
|
31895
|
+
},
|
|
31896
|
+
"bindings" : {
|
|
31897
|
+
"additionalProperties" : {
|
|
31898
|
+
"enum" : [ "path", "query", "header", "body" ],
|
|
31899
|
+
"type" : "string"
|
|
31900
|
+
},
|
|
31901
|
+
"description" : "Where each property of `inputSchema` goes in the request.",
|
|
31902
|
+
"type" : "object"
|
|
31903
|
+
},
|
|
31904
|
+
"aliases" : {
|
|
31905
|
+
"additionalProperties" : {
|
|
31906
|
+
"type" : "string"
|
|
31907
|
+
},
|
|
31908
|
+
"description" : "Name of the parameter in the request when it differs from the `inputSchema` property (name invalid for models, or the same name in two places).",
|
|
31909
|
+
"type" : "object"
|
|
31910
|
+
},
|
|
31911
|
+
"outputSchema" : {
|
|
31912
|
+
"additionalProperties" : true,
|
|
31913
|
+
"type" : "object"
|
|
31914
|
+
},
|
|
31915
|
+
"readOnly" : {
|
|
31916
|
+
"description" : "GET, HEAD and OPTIONS — called without approval by default.",
|
|
31917
|
+
"type" : "boolean"
|
|
31918
|
+
}
|
|
31919
|
+
},
|
|
31920
|
+
"required" : [ "bindings", "description", "inputSchema", "method", "name", "path", "readOnly" ],
|
|
31921
|
+
"title" : "ToolOpenApiOperation",
|
|
31922
|
+
"type" : "object"
|
|
31923
|
+
},
|
|
31924
|
+
"ToolOpenApiOAuth2Flow" : {
|
|
31925
|
+
"additionalProperties" : false,
|
|
31926
|
+
"properties" : {
|
|
31927
|
+
"authorizationUrl" : {
|
|
31928
|
+
"type" : "string"
|
|
31929
|
+
},
|
|
31930
|
+
"tokenUrl" : {
|
|
31931
|
+
"type" : "string"
|
|
31932
|
+
},
|
|
31933
|
+
"refreshUrl" : {
|
|
31934
|
+
"type" : "string"
|
|
31935
|
+
},
|
|
31936
|
+
"scopes" : {
|
|
31937
|
+
"items" : {
|
|
31938
|
+
"type" : "string"
|
|
31939
|
+
},
|
|
31940
|
+
"type" : "array"
|
|
31941
|
+
}
|
|
31942
|
+
},
|
|
31943
|
+
"required" : [ "authorizationUrl", "scopes", "tokenUrl" ],
|
|
31944
|
+
"title" : "ToolOpenApiOAuth2Flow",
|
|
31945
|
+
"type" : "object"
|
|
31946
|
+
},
|
|
31572
31947
|
"ToolUpdateRequest" : {
|
|
31573
31948
|
"additionalProperties" : false,
|
|
31574
31949
|
"properties" : {
|
|
@@ -31889,6 +32264,159 @@
|
|
|
31889
32264
|
"title" : "ToolConnectionStatusResponse",
|
|
31890
32265
|
"type" : "object"
|
|
31891
32266
|
},
|
|
32267
|
+
"ToolOpenApiDefinitionInput" : {
|
|
32268
|
+
"additionalProperties" : false,
|
|
32269
|
+
"description" : "A definition given by URL, or its JSON or YAML text. Exactly one of the two.",
|
|
32270
|
+
"properties" : {
|
|
32271
|
+
"url" : {
|
|
32272
|
+
"description" : "Public http(s) URL of the definition.",
|
|
32273
|
+
"type" : "string"
|
|
32274
|
+
},
|
|
32275
|
+
"content" : {
|
|
32276
|
+
"description" : "JSON or YAML text of the definition (2 MiB max).",
|
|
32277
|
+
"type" : "string"
|
|
32278
|
+
}
|
|
32279
|
+
},
|
|
32280
|
+
"title" : "ToolOpenApiDefinitionInput",
|
|
32281
|
+
"type" : "object"
|
|
32282
|
+
},
|
|
32283
|
+
"ToolOpenApiPreviewResponse" : {
|
|
32284
|
+
"additionalProperties" : false,
|
|
32285
|
+
"properties" : {
|
|
32286
|
+
"info" : {
|
|
32287
|
+
"$ref" : "#/components/schemas/ToolOpenApiInfo"
|
|
32288
|
+
},
|
|
32289
|
+
"servers" : {
|
|
32290
|
+
"items" : {
|
|
32291
|
+
"type" : "string"
|
|
32292
|
+
},
|
|
32293
|
+
"type" : "array"
|
|
32294
|
+
},
|
|
32295
|
+
"detectedAuth" : {
|
|
32296
|
+
"$ref" : "#/components/schemas/ToolOpenApiDetectedAuth"
|
|
32297
|
+
},
|
|
32298
|
+
"operations" : {
|
|
32299
|
+
"items" : {
|
|
32300
|
+
"$ref" : "#/components/schemas/ToolOpenApiOperation"
|
|
32301
|
+
},
|
|
32302
|
+
"type" : "array"
|
|
32303
|
+
},
|
|
32304
|
+
"warnings" : {
|
|
32305
|
+
"description" : "What was renamed or left out (non-JSON bodies, missing operationId…).",
|
|
32306
|
+
"items" : {
|
|
32307
|
+
"type" : "string"
|
|
32308
|
+
},
|
|
32309
|
+
"type" : "array"
|
|
32310
|
+
},
|
|
32311
|
+
"specHash" : {
|
|
32312
|
+
"type" : "string"
|
|
32313
|
+
},
|
|
32314
|
+
"oauthRedirectUri" : {
|
|
32315
|
+
"description" : "Redirect URI to register with the OAuth 2 provider when the API uses OAuth 2.",
|
|
32316
|
+
"type" : "string"
|
|
32317
|
+
}
|
|
32318
|
+
},
|
|
32319
|
+
"required" : [ "detectedAuth", "info", "oauthRedirectUri", "operations", "servers", "specHash", "warnings" ],
|
|
32320
|
+
"title" : "ToolOpenApiPreviewResponse",
|
|
32321
|
+
"type" : "object"
|
|
32322
|
+
},
|
|
32323
|
+
"ToolOpenApiDetectedAuth" : {
|
|
32324
|
+
"additionalProperties" : false,
|
|
32325
|
+
"description" : "The authentication the definition declares in `securitySchemes`.",
|
|
32326
|
+
"properties" : {
|
|
32327
|
+
"authType" : {
|
|
32328
|
+
"enum" : [ "none", "bearer", "header", "oauth2" ],
|
|
32329
|
+
"type" : "string"
|
|
32330
|
+
},
|
|
32331
|
+
"headerName" : {
|
|
32332
|
+
"type" : "string"
|
|
32333
|
+
},
|
|
32334
|
+
"oauth2" : {
|
|
32335
|
+
"$ref" : "#/components/schemas/ToolOpenApiOAuth2Flow"
|
|
32336
|
+
}
|
|
32337
|
+
},
|
|
32338
|
+
"required" : [ "authType" ],
|
|
32339
|
+
"title" : "ToolOpenApiDetectedAuth",
|
|
32340
|
+
"type" : "object"
|
|
32341
|
+
},
|
|
32342
|
+
"ToolOpenApiReimportRequest" : {
|
|
32343
|
+
"additionalProperties" : false,
|
|
32344
|
+
"description" : "Without `url` nor `content`, the definition is fetched again from the URL it was imported from. With `dryRun`, nothing is saved.",
|
|
32345
|
+
"properties" : {
|
|
32346
|
+
"url" : {
|
|
32347
|
+
"type" : "string"
|
|
32348
|
+
},
|
|
32349
|
+
"content" : {
|
|
32350
|
+
"type" : "string"
|
|
32351
|
+
},
|
|
32352
|
+
"dryRun" : {
|
|
32353
|
+
"type" : "boolean"
|
|
32354
|
+
}
|
|
32355
|
+
},
|
|
32356
|
+
"title" : "ToolOpenApiReimportRequest",
|
|
32357
|
+
"type" : "object"
|
|
32358
|
+
},
|
|
32359
|
+
"ToolOpenApiReimportResponse" : {
|
|
32360
|
+
"additionalProperties" : false,
|
|
32361
|
+
"properties" : {
|
|
32362
|
+
"added" : {
|
|
32363
|
+
"description" : "New actions — not allowed until an admin allows them.",
|
|
32364
|
+
"items" : {
|
|
32365
|
+
"type" : "string"
|
|
32366
|
+
},
|
|
32367
|
+
"type" : "array"
|
|
32368
|
+
},
|
|
32369
|
+
"removed" : {
|
|
32370
|
+
"items" : {
|
|
32371
|
+
"type" : "string"
|
|
32372
|
+
},
|
|
32373
|
+
"type" : "array"
|
|
32374
|
+
},
|
|
32375
|
+
"modified" : {
|
|
32376
|
+
"items" : {
|
|
32377
|
+
"$ref" : "#/components/schemas/ToolOpenApiOperationChange"
|
|
32378
|
+
},
|
|
32379
|
+
"type" : "array"
|
|
32380
|
+
},
|
|
32381
|
+
"unchanged" : {
|
|
32382
|
+
"description" : "The definition text is identical to the imported one.",
|
|
32383
|
+
"type" : "boolean"
|
|
32384
|
+
},
|
|
32385
|
+
"applied" : {
|
|
32386
|
+
"type" : "boolean"
|
|
32387
|
+
},
|
|
32388
|
+
"warnings" : {
|
|
32389
|
+
"items" : {
|
|
32390
|
+
"type" : "string"
|
|
32391
|
+
},
|
|
32392
|
+
"type" : "array"
|
|
32393
|
+
},
|
|
32394
|
+
"openapi" : {
|
|
32395
|
+
"$ref" : "#/components/schemas/ToolOpenApi"
|
|
32396
|
+
}
|
|
32397
|
+
},
|
|
32398
|
+
"required" : [ "added", "applied", "modified", "removed", "unchanged", "warnings" ],
|
|
32399
|
+
"title" : "ToolOpenApiReimportResponse",
|
|
32400
|
+
"type" : "object"
|
|
32401
|
+
},
|
|
32402
|
+
"ToolOpenApiOperationChange" : {
|
|
32403
|
+
"additionalProperties" : false,
|
|
32404
|
+
"properties" : {
|
|
32405
|
+
"name" : {
|
|
32406
|
+
"type" : "string"
|
|
32407
|
+
},
|
|
32408
|
+
"changes" : {
|
|
32409
|
+
"description" : "Human-readable differences, e.g. `+param since`, `-param include`, `verb GET → POST`.",
|
|
32410
|
+
"items" : {
|
|
32411
|
+
"type" : "string"
|
|
32412
|
+
},
|
|
32413
|
+
"type" : "array"
|
|
32414
|
+
}
|
|
32415
|
+
},
|
|
32416
|
+
"required" : [ "changes", "name" ],
|
|
32417
|
+
"title" : "ToolOpenApiOperationChange",
|
|
32418
|
+
"type" : "object"
|
|
32419
|
+
},
|
|
31892
32420
|
"Skill" : {
|
|
31893
32421
|
"properties" : {
|
|
31894
32422
|
"id" : {
|