{
  "service": "wrike",
  "displayName": "Wrike",
  "categories": [
    "Productivity"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "Permanent Access Token",
      "placeholder": "WRIKE_ACCESS_TOKEN",
      "description": "Wrike permanent access token sent as an Authorization: Bearer header. Create it from your Wrike workspace profile under Apps & Integrations > API: https://developers.wrike.com/docs/mcp-legacy-authentication-pat.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://www.wrike.com",
  "actions": [
    {
      "id": "wrike.create_folder",
      "service": "wrike",
      "name": "create_folder",
      "description": "Create a Wrike folder under a parent folder or root folder ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "folderId": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike API resource ID."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike folder title."
          },
          "description": {
            "type": "string",
            "description": "The Wrike folder description."
          },
          "shareds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Wrike API resource ID."
            },
            "description": "Wrike user or invited user IDs to share the folder with.",
            "minItems": 1
          },
          "withInvitations": {
            "type": "boolean",
            "description": "Whether to include invitations in ownerIds and sharedIds."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "cascadingFields",
                "accessRoles",
                "customItemTypeId",
                "customColumnIds",
                "contractType",
                "attachmentCount",
                "briefDescription",
                "finance"
              ],
              "description": "Optional Wrike folder response field."
            },
            "description": "Optional Wrike folder response fields.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "folderId",
          "title"
        ],
        "description": "Parameters for creating a Wrike folder."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike response kind."
          },
          "nextPageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The pagination token returned by Wrike for the next page."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Wrike API object."
          },
          "folder": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Wrike folder ID."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The folder or project title."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "color": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The folder color returned by Wrike."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "childIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One child folder ID."
                },
                "description": "Child folder IDs returned by Wrike."
              },
              "scope": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Wrike folder scope."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "project": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Wrike API object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "permalink": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Wrike folder permalink."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Wrike API object."
              }
            },
            "additionalProperties": false,
            "description": "A normalized Wrike folder or project."
          }
        },
        "additionalProperties": false,
        "required": [
          "kind",
          "raw",
          "folder"
        ],
        "description": "The Wrike folder creation response."
      }
    },
    {
      "id": "wrike.create_task",
      "service": "wrike",
      "name": "create_task",
      "description": "Create a Wrike task in a folder using JSON-friendly task fields.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "folderId": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike API resource ID."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike task title."
          },
          "description": {
            "type": "string",
            "description": "The Wrike task description."
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Deferred",
              "Completed",
              "Cancelled"
            ],
            "description": "The Wrike task status."
          },
          "importance": {
            "type": "string",
            "enum": [
              "High",
              "Low",
              "Normal"
            ],
            "description": "The Wrike task importance."
          },
          "responsibles": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Wrike API resource ID."
            },
            "description": "Wrike contact IDs to assign to the task.",
            "minItems": 1
          },
          "parents": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Wrike API resource ID."
            },
            "description": "Additional Wrike parent folder IDs.",
            "minItems": 1
          },
          "superTasks": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Wrike API resource ID."
            },
            "description": "Wrike parent task IDs for creating a subtask.",
            "minItems": 1
          },
          "followers": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Wrike API resource ID."
            },
            "description": "Wrike contact IDs to add as followers.",
            "minItems": 1
          },
          "follow": {
            "type": "boolean",
            "description": "Whether the caller should follow the created task."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "cascadingFields",
                "customItemTypeId",
                "billingType",
                "attachmentCount",
                "workScheduleId",
                "responsiblePlaceholderIds",
                "effortAllocation",
                "recurrent",
                "finance"
              ],
              "description": "Optional Wrike task response field."
            },
            "description": "Optional Wrike task response fields.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "folderId",
          "title"
        ],
        "description": "Parameters for creating a Wrike task in a folder."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike response kind."
          },
          "nextPageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The pagination token returned by Wrike for the next page."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Wrike API object."
          },
          "task": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Wrike task ID."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The task title."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Wrike task status."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "importance": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Wrike task importance."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "permalink": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Wrike task permalink."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "responsibleIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Wrike contact ID."
                },
                "description": "Wrike contact IDs assigned to the task."
              },
              "parentIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Wrike folder ID."
                },
                "description": "Wrike parent folder IDs for the task."
              },
              "superTaskIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Wrike task ID."
                },
                "description": "Wrike parent task IDs for the task."
              },
              "subTaskIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Wrike task ID."
                },
                "description": "Wrike subtask IDs for the task."
              },
              "createdDate": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The task creation timestamp returned by Wrike."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updatedDate": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The task update timestamp returned by Wrike."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "completedDate": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The task completion timestamp returned by Wrike."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Wrike API object."
              }
            },
            "additionalProperties": false,
            "description": "A normalized Wrike task."
          }
        },
        "additionalProperties": false,
        "required": [
          "kind",
          "raw",
          "task"
        ],
        "description": "The Wrike task creation response."
      }
    },
    {
      "id": "wrike.get_folders",
      "service": "wrike",
      "name": "get_folders",
      "description": "Retrieve complete Wrike folder or project information by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "folderIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Wrike API resource ID."
            },
            "description": "Wrike API resource IDs.",
            "minItems": 1,
            "maxItems": 1000
          },
          "withInvitations": {
            "type": "boolean",
            "description": "Whether to include invitations in sharedIds."
          },
          "plainTextCustomFields": {
            "type": "boolean",
            "description": "Whether to strip HTML tags from custom fields."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "cascadingFields",
                "accessRoles",
                "customItemTypeId",
                "customColumnIds",
                "contractType",
                "attachmentCount",
                "briefDescription",
                "finance"
              ],
              "description": "Optional Wrike folder response field."
            },
            "description": "Optional Wrike folder response fields.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "folderIds"
        ],
        "description": "Path and query parameters for retrieving Wrike folders by ID."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike response kind."
          },
          "nextPageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The pagination token returned by Wrike for the next page."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Wrike API object."
          },
          "folders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike folder ID."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The folder or project title."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "color": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The folder color returned by Wrike."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "childIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One child folder ID."
                  },
                  "description": "Child folder IDs returned by Wrike."
                },
                "scope": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike folder scope."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "project": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Wrike API object."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "permalink": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike folder permalink."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Wrike API object."
                }
              },
              "additionalProperties": false,
              "description": "A normalized Wrike folder or project."
            },
            "description": "folders returned by Wrike."
          }
        },
        "additionalProperties": false,
        "required": [
          "kind",
          "raw",
          "folders"
        ],
        "description": "Wrike folders or projects retrieved by ID."
      }
    },
    {
      "id": "wrike.get_tasks",
      "service": "wrike",
      "name": "get_tasks",
      "description": "Retrieve complete Wrike task information by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "taskIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Wrike API resource ID."
            },
            "description": "Wrike API resource IDs.",
            "minItems": 1,
            "maxItems": 1000
          },
          "withInvitations": {
            "type": "boolean",
            "description": "Whether to include invitations in sharedIds and responsibleIds."
          },
          "plainTextCustomFields": {
            "type": "boolean",
            "description": "Whether to strip HTML tags from custom fields."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "cascadingFields",
                "customItemTypeId",
                "billingType",
                "attachmentCount",
                "workScheduleId",
                "responsiblePlaceholderIds",
                "effortAllocation",
                "recurrent",
                "finance"
              ],
              "description": "Optional Wrike task response field."
            },
            "description": "Optional Wrike task response fields.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "taskIds"
        ],
        "description": "Path and query parameters for retrieving Wrike tasks by ID."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike response kind."
          },
          "nextPageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The pagination token returned by Wrike for the next page."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Wrike API object."
          },
          "tasks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike task ID."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The task title."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike task status."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "importance": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike task importance."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "permalink": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike task permalink."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "responsibleIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Wrike contact ID."
                  },
                  "description": "Wrike contact IDs assigned to the task."
                },
                "parentIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Wrike folder ID."
                  },
                  "description": "Wrike parent folder IDs for the task."
                },
                "superTaskIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Wrike task ID."
                  },
                  "description": "Wrike parent task IDs for the task."
                },
                "subTaskIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Wrike task ID."
                  },
                  "description": "Wrike subtask IDs for the task."
                },
                "createdDate": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The task creation timestamp returned by Wrike."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "updatedDate": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The task update timestamp returned by Wrike."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "completedDate": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The task completion timestamp returned by Wrike."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Wrike API object."
                }
              },
              "additionalProperties": false,
              "description": "A normalized Wrike task."
            },
            "description": "tasks returned by Wrike."
          }
        },
        "additionalProperties": false,
        "required": [
          "kind",
          "raw",
          "tasks"
        ],
        "description": "Wrike tasks retrieved by ID."
      }
    },
    {
      "id": "wrike.list_contacts",
      "service": "wrike",
      "name": "list_contacts",
      "description": "List Wrike contacts in the current account with optional filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "me": {
            "type": "boolean",
            "description": "Whether to return only the requesting user's contact."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether to include deleted contacts."
          },
          "active": {
            "type": "boolean",
            "description": "Whether to filter contacts by active status."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The contact name filter."
          },
          "emails": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "One email address.",
              "format": "email"
            },
            "description": "Email addresses to filter contacts by.",
            "minItems": 1,
            "maxItems": 100
          },
          "types": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Group",
                "Asset",
                "Person",
                "Robot"
              ],
              "description": "The Wrike contact type."
            },
            "description": "Wrike contact types to include.",
            "minItems": 1
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "metadata",
                "currentCostRate",
                "customFields",
                "currentBillRate",
                "jobRoleId",
                "workScheduleId"
              ],
              "description": "Optional Wrike contact response field."
            },
            "description": "Optional Wrike contact response fields.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "description": "Filters for listing Wrike contacts."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike response kind."
          },
          "nextPageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The pagination token returned by Wrike for the next page."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Wrike API object."
          },
          "contacts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike contact ID."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "firstName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The contact first name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lastName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The contact last name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike contact type."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "email": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The first email from the contact profiles."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "accountId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The first account ID from the contact profiles."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "timezone": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The contact timezone."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "locale": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The contact locale."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "deleted": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether Wrike marks the contact as deleted."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "me": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether this contact is the requesting user."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Wrike API object."
                }
              },
              "additionalProperties": false,
              "description": "A normalized Wrike contact."
            },
            "description": "contacts returned by Wrike."
          }
        },
        "additionalProperties": false,
        "required": [
          "kind",
          "raw",
          "contacts"
        ],
        "description": "A list of Wrike contacts."
      }
    },
    {
      "id": "wrike.list_folders",
      "service": "wrike",
      "name": "list_folders",
      "description": "List Wrike folders and projects in the current account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "permalink": {
            "type": "string",
            "minLength": 1,
            "description": "Folder permalink to match exactly."
          },
          "descendants": {
            "type": "boolean",
            "description": "Whether to add all descendant folders to the search scope."
          },
          "project": {
            "type": "boolean",
            "description": "Filter only projects when true or only folders when false."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether to get folders from the recycle bin."
          },
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "The number of folders to return. Wrike supports up to 1000."
          },
          "nextPageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike pagination token from the previous response."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "cascadingFields",
                "accessRoles",
                "customItemTypeId",
                "customColumnIds",
                "contractType",
                "attachmentCount",
                "briefDescription",
                "finance"
              ],
              "description": "Optional Wrike folder response field."
            },
            "description": "Optional Wrike folder response fields.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "description": "Filters for listing Wrike folders and projects."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike response kind."
          },
          "nextPageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The pagination token returned by Wrike for the next page."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Wrike API object."
          },
          "folders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike folder ID."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The folder or project title."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "color": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The folder color returned by Wrike."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "childIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One child folder ID."
                  },
                  "description": "Child folder IDs returned by Wrike."
                },
                "scope": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike folder scope."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "project": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Wrike API object."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "permalink": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike folder permalink."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Wrike API object."
                }
              },
              "additionalProperties": false,
              "description": "A normalized Wrike folder or project."
            },
            "description": "folders returned by Wrike."
          }
        },
        "additionalProperties": false,
        "required": [
          "kind",
          "raw",
          "folders"
        ],
        "description": "A list of Wrike folders or projects."
      }
    },
    {
      "id": "wrike.list_tasks",
      "service": "wrike",
      "name": "list_tasks",
      "description": "Search Wrike tasks in the current account with optional filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1,
            "description": "A title substring filter."
          },
          "status": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "Active",
                "Deferred",
                "Completed",
                "Cancelled"
              ],
              "description": "The Wrike task status."
            },
            "description": "Wrike task statuses to include.",
            "minItems": 1
          },
          "importance": {
            "type": "string",
            "enum": [
              "High",
              "Low",
              "Normal"
            ],
            "description": "The Wrike task importance."
          },
          "type": {
            "type": "string",
            "enum": [
              "Milestone",
              "Backlog",
              "Planned"
            ],
            "description": "The Wrike task type."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of tasks returned by Wrike."
          },
          "sortField": {
            "type": "string",
            "enum": [
              "Status",
              "Importance",
              "UpdatedDate",
              "CreatedDate",
              "Title",
              "StartFinishInterval",
              "DueDate",
              "LastAccessDate",
              "CompletedDate"
            ],
            "description": "The Wrike task sort field."
          },
          "sortOrder": {
            "type": "string",
            "enum": [
              "Asc",
              "Desc"
            ],
            "description": "The Wrike task sort order."
          },
          "nextPageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike pagination token from the previous response."
          },
          "authors": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Wrike API resource ID."
            },
            "description": "Wrike contact IDs used as author filters.",
            "minItems": 1
          },
          "responsibles": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Wrike API resource ID."
            },
            "description": "Wrike contact IDs used as assignee filters.",
            "minItems": 1
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "cascadingFields",
                "customItemTypeId",
                "billingType",
                "attachmentCount",
                "workScheduleId",
                "responsiblePlaceholderIds",
                "effortAllocation",
                "recurrent",
                "finance"
              ],
              "description": "Optional Wrike task response field."
            },
            "description": "Optional Wrike task response fields.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "description": "Filters for listing Wrike tasks."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "minLength": 1,
            "description": "The Wrike response kind."
          },
          "nextPageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The pagination token returned by Wrike for the next page."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Wrike API object."
          },
          "tasks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike task ID."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The task title."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike task status."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "importance": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike task importance."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "permalink": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Wrike task permalink."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "responsibleIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Wrike contact ID."
                  },
                  "description": "Wrike contact IDs assigned to the task."
                },
                "parentIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Wrike folder ID."
                  },
                  "description": "Wrike parent folder IDs for the task."
                },
                "superTaskIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Wrike task ID."
                  },
                  "description": "Wrike parent task IDs for the task."
                },
                "subTaskIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Wrike task ID."
                  },
                  "description": "Wrike subtask IDs for the task."
                },
                "createdDate": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The task creation timestamp returned by Wrike."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "updatedDate": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The task update timestamp returned by Wrike."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "completedDate": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The task completion timestamp returned by Wrike."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Wrike API object."
                }
              },
              "additionalProperties": false,
              "description": "A normalized Wrike task."
            },
            "description": "tasks returned by Wrike."
          }
        },
        "additionalProperties": false,
        "required": [
          "kind",
          "raw",
          "tasks"
        ],
        "description": "A list of Wrike tasks."
      }
    }
  ]
}
