Query
query ExportMcpToolCatalog($format: McpToolExportFormat!) {
exportMcpToolCatalog(format: $format) {
filename
contentType
content
}
}Variables
{
"format": "JSON"
}Response
{
"data": {
"exportMcpToolCatalog": {
"filename": "string",
"contentType": "string",
"content": "string"
}
}
}Queries
exportMcpToolCatalog
Export current tool definitions with an AI preset-generation contract.
QUERY
exportMcpToolCatalog(format: McpToolExportFormat!, source: McpToolCatalogSource, groupIds: [ID!]): McpToolDocumentExport!Arguments
format
required
The desired document format.
source
default:ALL
Whether this reference identifies a built-in or external tool.
groupIds
[ID!]
Optional catalog group identifiers to include, including their descendants.
Returns
filename
String!
Suggested filename for saving the exported document.
contentType
String!
MIME type of the exported document.
content
String!
The complete UTF-8 document text.
Query
query ExportMcpToolCatalog($format: McpToolExportFormat!) {
exportMcpToolCatalog(format: $format) {
filename
contentType
content
}
}Variables
{
"format": "JSON"
}Response
{
"data": {
"exportMcpToolCatalog": {
"filename": "string",
"contentType": "string",
"content": "string"
}
}
}