Mutation
mutation ImportMcpToolPresets($input: McpToolPresetImportInput!, $previewToken: String!) {
importMcpToolPresets(input: $input, previewToken: $previewToken) {
id
name
description
iconKey
enabledForPlans
enabledForSessions
}
}Variables
{
"input": {
"document": "string"
},
"previewToken": "string"
}Response
{
"data": {
"importMcpToolPresets": [
{
"id": "id",
"name": "string",
"description": "string",
"iconKey": "string",
"enabledForPlans": true,
"enabledForSessions": true
}
]
}
}Mutations
importMcpToolPresets
Apply an unchanged, valid preview in one transaction.
MUTATION
importMcpToolPresets(input: McpToolPresetImportInput!, previewToken: String!): [McpToolPreset!]!Arguments
input
required
The portable document and reviewed import choices.
previewToken
String!
required
Token returned by the latest unchanged and valid import preview.
Returns
[McpToolPreset!]!
id
ID!
Stable identifier for this MCP tool preset.
name
String!
Display name of this MCP tool preset.
description
String!
Human-readable description of this MCP tool preset.
iconKey
String!
The icon key associated with this MCP tool preset.
enabledForPlans
Boolean!
Whether the enabled for plans condition is true for this MCP tool preset.
enabledForSessions
Boolean!
Whether the enabled for sessions condition is true for this MCP tool preset.
toolNames
[String!]!
Tool names associated with this MCP tool preset.
tools
[McpToolReference!]!
Source-qualified membership, including external tools.
createdAt
String!
ISO 8601 timestamp when this MCP tool preset was created.
updatedAt
String!
ISO 8601 timestamp when this MCP tool preset was last updated.
Mutation
mutation ImportMcpToolPresets($input: McpToolPresetImportInput!, $previewToken: String!) {
importMcpToolPresets(input: $input, previewToken: $previewToken) {
id
name
description
iconKey
enabledForPlans
enabledForSessions
}
}Variables
{
"input": {
"document": "string"
},
"previewToken": "string"
}Response
{
"data": {
"importMcpToolPresets": [
{
"id": "id",
"name": "string",
"description": "string",
"iconKey": "string",
"enabledForPlans": true,
"enabledForSessions": true
}
]
}
}