Mutation
mutation CreateSidekickCustomSkill($input: CreateSidekickCustomSkillInput!) {
createSidekickCustomSkill(input: $input) {
customSkill {
id
name
displayName
description
instructions
isEnabled
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"displayName": "string",
"description": "string",
"instructions": "string"
}
}Response
{
"data": {
"createSidekickCustomSkill": {
"customSkill": {
"id": "id",
"name": "string",
"displayName": "string",
"description": "string",
"instructions": "string",
"isEnabled": true
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
createSidekickCustomSkill
Create a workspace custom skill. The name must be a unique URL-safe slug.
MUTATION
createSidekickCustomSkill(input: CreateSidekickCustomSkillInput!): CreateSidekickCustomSkillOutput!Arguments
input
required
Returns
customSkill
error
Mutation
mutation CreateSidekickCustomSkill($input: CreateSidekickCustomSkillInput!) {
createSidekickCustomSkill(input: $input) {
customSkill {
id
name
displayName
description
instructions
isEnabled
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"displayName": "string",
"description": "string",
"instructions": "string"
}
}Response
{
"data": {
"createSidekickCustomSkill": {
"customSkill": {
"id": "id",
"name": "string",
"displayName": "string",
"description": "string",
"instructions": "string",
"isEnabled": true
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

