Both 'content' and 'filePath' must be provided in the JSON input.