@breign/client 1.0.203 → 1.0.205
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/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/ToolPresetConfigOptionInputUio.d.ts +82 -0
- package/dist/models/ToolPresetConfigOptionInputUio.js +76 -0
- package/dist/models/ToolPresetConfigOptionUio.d.ts +82 -0
- package/dist/models/ToolPresetConfigOptionUio.js +86 -0
- package/dist/models/ToolPresetCreateRequestUio.d.ts +7 -0
- package/dist/models/ToolPresetCreateRequestUio.js +3 -0
- package/dist/models/ToolPresetImportItemUio.d.ts +7 -0
- package/dist/models/ToolPresetImportItemUio.js +3 -0
- package/dist/models/ToolPresetUio.d.ts +8 -1
- package/dist/models/ToolPresetUio.js +3 -0
- package/dist/models/ToolPresetUpdateRequestUio.d.ts +7 -0
- package/dist/models/ToolPresetUpdateRequestUio.js +3 -0
- package/dist/models/ToolSecureUio.d.ts +9 -1
- package/dist/models/ToolSecureUio.js +5 -1
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/openapi.json +593 -4
- package/package.json +1 -1
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",
|
|
@@ -24960,6 +25100,9 @@
|
|
|
24960
25100
|
"additionalProperties" : true,
|
|
24961
25101
|
"type" : "object"
|
|
24962
25102
|
},
|
|
25103
|
+
"openapi" : {
|
|
25104
|
+
"$ref" : "#/components/schemas/ToolOpenApi"
|
|
25105
|
+
},
|
|
24963
25106
|
"restricted" : {
|
|
24964
25107
|
"type" : "boolean"
|
|
24965
25108
|
},
|
|
@@ -31504,7 +31647,7 @@
|
|
|
31504
31647
|
"type" : "string"
|
|
31505
31648
|
},
|
|
31506
31649
|
"type" : {
|
|
31507
|
-
"description" : "e.g. tool_api | mcp",
|
|
31650
|
+
"description" : "e.g. tool_api | mcp | openapi",
|
|
31508
31651
|
"type" : "string"
|
|
31509
31652
|
},
|
|
31510
31653
|
"scope" : {
|
|
@@ -31523,12 +31666,43 @@
|
|
|
31523
31666
|
"mcp" : {
|
|
31524
31667
|
"additionalProperties" : true,
|
|
31525
31668
|
"type" : "object"
|
|
31669
|
+
},
|
|
31670
|
+
"openapi" : {
|
|
31671
|
+
"$ref" : "#/components/schemas/ToolOpenApiCreate"
|
|
31526
31672
|
}
|
|
31527
31673
|
},
|
|
31528
31674
|
"required" : [ "configuration", "name", "orgId", "type" ],
|
|
31529
31675
|
"title" : "ToolCreateRequest",
|
|
31530
31676
|
"type" : "object"
|
|
31531
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
|
+
},
|
|
31532
31706
|
"TTSRequest" : {
|
|
31533
31707
|
"properties" : {
|
|
31534
31708
|
"text" : {
|
|
@@ -31576,8 +31750,8 @@
|
|
|
31576
31750
|
"type" : "string"
|
|
31577
31751
|
},
|
|
31578
31752
|
"type" : {
|
|
31579
|
-
"description" : "tool_api | mcp",
|
|
31580
|
-
"enum" : [ "tool_api", "mcp" ],
|
|
31753
|
+
"description" : "tool_api | mcp | openapi",
|
|
31754
|
+
"enum" : [ "tool_api", "mcp", "openapi" ],
|
|
31581
31755
|
"type" : "string"
|
|
31582
31756
|
},
|
|
31583
31757
|
"scope" : {
|
|
@@ -31594,6 +31768,13 @@
|
|
|
31594
31768
|
"mcp" : {
|
|
31595
31769
|
"$ref" : "#/components/schemas/ToolSecure_mcp"
|
|
31596
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
|
+
},
|
|
31597
31778
|
"isSetup" : {
|
|
31598
31779
|
"description" : "Indicates if the tool has completed its setup (for oauth2 tools).",
|
|
31599
31780
|
"type" : "boolean"
|
|
@@ -31603,6 +31784,166 @@
|
|
|
31603
31784
|
"title" : "ToolSecure",
|
|
31604
31785
|
"type" : "object"
|
|
31605
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
|
+
},
|
|
31606
31947
|
"ToolUpdateRequest" : {
|
|
31607
31948
|
"additionalProperties" : false,
|
|
31608
31949
|
"properties" : {
|
|
@@ -31923,6 +32264,159 @@
|
|
|
31923
32264
|
"title" : "ToolConnectionStatusResponse",
|
|
31924
32265
|
"type" : "object"
|
|
31925
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
|
+
},
|
|
31926
32420
|
"Skill" : {
|
|
31927
32421
|
"properties" : {
|
|
31928
32422
|
"id" : {
|
|
@@ -38655,9 +39149,16 @@
|
|
|
38655
39149
|
"type" : "string"
|
|
38656
39150
|
},
|
|
38657
39151
|
"url" : {
|
|
38658
|
-
"description" : "MCP server URL",
|
|
39152
|
+
"description" : "MCP server URL, possibly with {{key}} variables declared in configOptions",
|
|
38659
39153
|
"type" : "string"
|
|
38660
39154
|
},
|
|
39155
|
+
"configOptions" : {
|
|
39156
|
+
"description" : "Options the organization fills in when adding the tool. Optional so that a client talking to an API without this field keeps working.",
|
|
39157
|
+
"items" : {
|
|
39158
|
+
"$ref" : "#/components/schemas/ToolPresetConfigOption"
|
|
39159
|
+
},
|
|
39160
|
+
"type" : "array"
|
|
39161
|
+
},
|
|
38661
39162
|
"logoUrl" : {
|
|
38662
39163
|
"nullable" : true,
|
|
38663
39164
|
"type" : "string"
|
|
@@ -38711,6 +39212,41 @@
|
|
|
38711
39212
|
"title" : "ToolPreset",
|
|
38712
39213
|
"type" : "object"
|
|
38713
39214
|
},
|
|
39215
|
+
"ToolPresetConfigOption" : {
|
|
39216
|
+
"properties" : {
|
|
39217
|
+
"key" : {
|
|
39218
|
+
"description" : "Variable name, used as {{key}} in the preset URL",
|
|
39219
|
+
"type" : "string"
|
|
39220
|
+
},
|
|
39221
|
+
"type" : {
|
|
39222
|
+
"description" : "url: base http(s) address without query or fragment, which must start the preset URL. text: URL-encoded value, allowed anywhere.",
|
|
39223
|
+
"enum" : [ "url", "text" ],
|
|
39224
|
+
"type" : "string"
|
|
39225
|
+
},
|
|
39226
|
+
"labelEn" : {
|
|
39227
|
+
"type" : "string"
|
|
39228
|
+
},
|
|
39229
|
+
"labelFr" : {
|
|
39230
|
+
"type" : "string"
|
|
39231
|
+
},
|
|
39232
|
+
"descriptionEn" : {
|
|
39233
|
+
"type" : "string"
|
|
39234
|
+
},
|
|
39235
|
+
"descriptionFr" : {
|
|
39236
|
+
"type" : "string"
|
|
39237
|
+
},
|
|
39238
|
+
"defaultValue" : {
|
|
39239
|
+
"description" : "Used when the organization leaves the field empty",
|
|
39240
|
+
"type" : "string"
|
|
39241
|
+
},
|
|
39242
|
+
"required" : {
|
|
39243
|
+
"type" : "boolean"
|
|
39244
|
+
}
|
|
39245
|
+
},
|
|
39246
|
+
"required" : [ "defaultValue", "descriptionEn", "descriptionFr", "key", "labelEn", "labelFr", "required", "type" ],
|
|
39247
|
+
"title" : "ToolPresetConfigOption",
|
|
39248
|
+
"type" : "object"
|
|
39249
|
+
},
|
|
38714
39250
|
"ToolPresetCreateRequest" : {
|
|
38715
39251
|
"properties" : {
|
|
38716
39252
|
"slug" : {
|
|
@@ -38728,6 +39264,12 @@
|
|
|
38728
39264
|
"url" : {
|
|
38729
39265
|
"type" : "string"
|
|
38730
39266
|
},
|
|
39267
|
+
"configOptions" : {
|
|
39268
|
+
"items" : {
|
|
39269
|
+
"$ref" : "#/components/schemas/ToolPresetConfigOptionInput"
|
|
39270
|
+
},
|
|
39271
|
+
"type" : "array"
|
|
39272
|
+
},
|
|
38731
39273
|
"logoUrl" : {
|
|
38732
39274
|
"nullable" : true,
|
|
38733
39275
|
"type" : "string"
|
|
@@ -38770,6 +39312,41 @@
|
|
|
38770
39312
|
"title" : "ToolPresetCreateRequest",
|
|
38771
39313
|
"type" : "object"
|
|
38772
39314
|
},
|
|
39315
|
+
"ToolPresetConfigOptionInput" : {
|
|
39316
|
+
"properties" : {
|
|
39317
|
+
"key" : {
|
|
39318
|
+
"description" : "Variable name, used as {{key}} in the preset URL",
|
|
39319
|
+
"type" : "string"
|
|
39320
|
+
},
|
|
39321
|
+
"type" : {
|
|
39322
|
+
"description" : "url: base http(s) address without query or fragment, which must start the preset URL. text: URL-encoded value, allowed anywhere.",
|
|
39323
|
+
"enum" : [ "url", "text" ],
|
|
39324
|
+
"type" : "string"
|
|
39325
|
+
},
|
|
39326
|
+
"labelEn" : {
|
|
39327
|
+
"type" : "string"
|
|
39328
|
+
},
|
|
39329
|
+
"labelFr" : {
|
|
39330
|
+
"type" : "string"
|
|
39331
|
+
},
|
|
39332
|
+
"descriptionEn" : {
|
|
39333
|
+
"type" : "string"
|
|
39334
|
+
},
|
|
39335
|
+
"descriptionFr" : {
|
|
39336
|
+
"type" : "string"
|
|
39337
|
+
},
|
|
39338
|
+
"defaultValue" : {
|
|
39339
|
+
"description" : "Used when the organization leaves the field empty",
|
|
39340
|
+
"type" : "string"
|
|
39341
|
+
},
|
|
39342
|
+
"required" : {
|
|
39343
|
+
"type" : "boolean"
|
|
39344
|
+
}
|
|
39345
|
+
},
|
|
39346
|
+
"required" : [ "key", "labelEn", "type" ],
|
|
39347
|
+
"title" : "ToolPresetConfigOptionInput",
|
|
39348
|
+
"type" : "object"
|
|
39349
|
+
},
|
|
38773
39350
|
"ToolPresetDeleteAllResponse" : {
|
|
38774
39351
|
"properties" : {
|
|
38775
39352
|
"deleted" : {
|
|
@@ -38820,6 +39397,12 @@
|
|
|
38820
39397
|
"url" : {
|
|
38821
39398
|
"type" : "string"
|
|
38822
39399
|
},
|
|
39400
|
+
"configOptions" : {
|
|
39401
|
+
"items" : {
|
|
39402
|
+
"$ref" : "#/components/schemas/ToolPresetConfigOptionInput"
|
|
39403
|
+
},
|
|
39404
|
+
"type" : "array"
|
|
39405
|
+
},
|
|
38823
39406
|
"logoUrl" : {
|
|
38824
39407
|
"nullable" : true,
|
|
38825
39408
|
"type" : "string"
|
|
@@ -38894,6 +39477,12 @@
|
|
|
38894
39477
|
"url" : {
|
|
38895
39478
|
"type" : "string"
|
|
38896
39479
|
},
|
|
39480
|
+
"configOptions" : {
|
|
39481
|
+
"items" : {
|
|
39482
|
+
"$ref" : "#/components/schemas/ToolPresetConfigOptionInput"
|
|
39483
|
+
},
|
|
39484
|
+
"type" : "array"
|
|
39485
|
+
},
|
|
38897
39486
|
"logoUrl" : {
|
|
38898
39487
|
"nullable" : true,
|
|
38899
39488
|
"type" : "string"
|